Switching to Quantized Floating-Point Arithmetic
- Click the
Project Properties button. - In the Build node, Code Generator option, select Quantized Physical Experiment.
Click OK.
The next time you start the experiment, your code is generated with the current settings.
Experimenting with models with quantized floating-point arithmetic works in the same way as with standard floating-point arithmetic. The difference is that for experimentation with quantized floating-point arithmetic, there is a special calibration window to adjust the limits of the interval and the quantization of the value.
See also