Select the diagnostic action to take if the value of a signal is too large to be represented by the signal data type, resulting in a saturation.
Category:Diagnostics
Default:warning
none
金宝app®software takes no action.
warning
Simulink software displays a warning.
error
Simulink software terminates the simulation or code generation and displays an error message.
This diagnostic applies only to overflows which saturate for integer and fixed-point data types.
To check for floating-point overflows (for example,Inf
orNaN
)double
orsingle
data types, select theInf or NaN block outputdiagnostic. (SeeInf or NaN block outputfor more information.)
During code generation, Simulink may simulate a few blocks in the model for optimization purposes. If simulation of these blocks triggers this diagnostic to report an error, the software terminates code generation.
Parameter:IntegerSaturationMsg |
Value:'none' |'warning' |'error' |
Default:'warning' |
Application | Setting |
---|---|
Debugging | warning |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | error |