Main Content

Model Configuration Parameters: Type Conversion Diagnostics

The Diagnostics > Type Conversion category includes parameters for detecting issues related to data type conversions (for example, from int32 to single).

ParameterDescription

Unnecessary type conversions

Select the diagnostic action to take when Simulink® software detects a Data Type Conversion block used where no type conversion is necessary.

Vector/matrix block input conversion

Select the diagnostic action to take when Simulink software detects a vector-to-matrix or matrix-to-vector conversion at a block input.

32-bit integer to single precision float conversion

Select the diagnostic action to take if Simulink software detects a 32-bit integer value was converted to a floating-point value.

Detect underflow

Specifies diagnostic action to take when a fixed-point constant underflow occurs during simulation.

Detect precision loss

Specifies diagnostic action to take when a fixed-point constant precision loss occurs during simulation.

Detect overflow

Specifies diagnostic action to take when a fixed-point constant overflow occurs during simulation.

Related Topics