Select the diagnostic action to take when a parameter downcast occurs during code generation.
Category: Diagnostics
Default: error
none
Simulink® software takes no action.
warning
Simulink software displays a warning.
error
Simulink software terminates code generation and displays an error message.
A parameter downcast occurs if the computation of
block output required converting the parameter's specified type to
a type having a smaller range of values (for example, from uint32
to uint8
).
This diagnostic applies only to named tunable parameters (parameters with a non-Auto storage class).
Parameter: ParameterDowncastMsg |
Value: 'none' | 'warning' | 'error' |
Default: 'error' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | error |