There are two primary workflows available for converting MATLAB® code to fixed-point code.
The manual workflow provides the most control to optimize the fixed-point types, but requires a greater understanding of fixed-point concepts.
For more information, see Manual Fixed-Point Conversion Best Practices.
The Fixed-Point Converter app enables you to convert your MATLAB code to fixed-point code without requiring extensive preexisting knowledge of fixed-point concepts. However, this workflow provides less control over your data types.
For more information, see Automated Fixed-Point Conversion Best Practices.
|Manual Workflow||Automated Workflow|
|Fully automated conversion||✓|
|Less fixed-point expertise required||✓|
|Quick turnaround time||✓|
|Simulation range analysis||✓||✓|
|Static range analysis||✓|
|Greatest control and optimization of data types||✓|
|Data type proposal||✓||✓|
|Automatic plotting of output variables for comparison||✓|