Instrumentation and Visualization in MATLAB
Choosing the scaling for the fixed-point variables in your algorithms can be difficult. In the Fixed-Point Designer™ software, you can use a combination of data type override and min/max logging with automatic model-wide instrumentation to help you discover the numerical ranges that your fixed-point data types need to cover. These ranges dictate the appropriate scalings for your fixed-point data types.
|Generate compiled C code function including logging instrumentation|
|Results logged by instrumented, compiled C code function|
|Clear results logged by instrumented, compiled C code function|
|Determine fixed-point data type|
- Data Type Override Preferences Using fipref
Data type override using the
- Manual Fixed-Point Conversion Workflow
Learn about workflow for manual float-to-fixed conversion.
- Manual Fixed-Point Conversion Best Practices
Get from generic MATLAB code to an efficient fixed-point implementation using manual fixed-point conversion.
- Manually Convert a Floating-Point MATLAB Algorithm to Fixed Point
Manual conversion of a floating-point MATLAB algorithm to fixed point.