Main Content
convertToSingle
Convert a double-precision system to single precision
Description
converts the system specified by ConversionReport
= DataTypeWorkflow.Single.convertToSingle(systemToConvert
)systemToConvert
to single precision
and returns a report. Data types that are specified as Boolean, fixed point, or one of the
built-in integers are not affected by conversion.
Examples
Input Arguments
Output Arguments
Alternatives
You can also use the Single Precision Converter app to convert a system from double precision to single precision. To open the Single Precision Converter app, in the Simulink® Apps tab, select Single Precision Converter. For more information, see Getting Started with Single Precision Converter.
Version History
Introduced in R2016b