Single Precision Converter
R2026bConvert double-precision system to single precision
Description
The Single Precision Converter automatically converts a double-precision system to single precision.
During the conversion process, the converter replaces all user-specified double-precision data types, as well as output data types that compile to double precision, with single-precision data types. The converter does not change built-in integer, Boolean, or fixed-point data types.
Open the Single Precision Converter
From the Simulink® Apps tab, select Single Precision Converter.
Programmatic Use
Limitations
The Single Precision Converter app does not support automatic conversion of MATLAB System blocks. These blocks are flagged during the compatibility check and must be converted manually.
Model references that can only compile in accelerator mode are not supported for automatic single precision conversion. Ensure that all model references in the system under design can compile in normal mode, or exclude subsystems that can only be run in accelerator mode from conversion.
