Main Content

Single Precision Converter

Convert 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

expand all

report = DataTypeWorkflow.Single.convertToSingle(systemToConvert) converts the system specified by systemToConvert to single-precision and returns a report. The systemToConvert must be open before you begin the conversion.

Version History

Introduced in R2016b