Main Content

Data Type Conversion and Casting

Conversion from one data type to another

Data type conversion and casting refers to changing from one data type to another. Fixed-Point Designer™ lets you create and optimize data types that meet numerical accuracy requirements and target hardware constraints.

Topics

Troubleshooting

Resolve Unexpected Values from Data Type Conversion

Troubleshoot settings to improve accuracy of fixed-point calculations.

Understand Unexpected Results from Data Type Conversion

This example shows how precision loss occurs in fixed-point Simulink models.

Featured Examples