Instrumentation and Visualization in MATLAB

Collect simulation data and statistics, use visualizations to explore your designs 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.

Functions

buildInstrumentedMexGenerate compiled C code function including logging instrumentation
showInstrumentationResultsResults logged by instrumented, compiled C code function
clearInstrumentationResultsClear results logged by instrumented, compiled C code function
NumericTypeScopeDetermine fixed-point data type

Topics

Data Type Override Preferences Using fipref

Data type override using the fipref object.

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.

Featured Examples