coder.SingleConfig | Double-precision to single-precision conversion configuration object |
coder | Open MATLAB Coder app |
codegen | Generate C/C++ code from MATLAB code |
coder.config | Create MATLAB Coder code generation configuration objects |
Choose a Single-Precision Conversion Workflow
Generate single-precision C/C++ code or generate single-precision MATLAB® code.
Generate Single-Precision C Code at the Command Line
Use codegen
to generate single-precision
C code from double-precision MATLAB code.
Generate Single-Precision C Code Using the MATLAB Coder App
Use the app to generate single-precision C code from double-precision MATLAB code.
Generate Single-Precision MATLAB Code
Generate single-precision MATLAB code from double-precision MATLAB code.
MATLAB Language Features Supported for Single-Precision Conversion
Use supported MATLAB language features for single-precision conversion.
Single-Precision Conversion Best Practices
Generate single-precision MATLAB code or single-precision C/C++ code according to best practices.
Warnings from Conversion to Single-Precision C/C++ Code
Address warnings from single-precision conversion.
Combining Integers and Double-Precision Numbers
Do not combine integers and double-precision numbers in MATLAB code for conversion to single-precision C/C++ code.