Documentation

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 App

  • From the Simulink® Analysis menu, select Data Type Design > Single Precision Converter.

Examples

Related Examples

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.

Introduced in R2016b

Was this topic helpful?