Simulation range checking
Description
Select the diagnostic action to take when signals exceed specified minimum or maximum values.
Category: Diagnostics
Settings
Default: none
none
Simulink® software takes no action.
warning
Simulink software displays a warning.
error
Simulink software terminates the simulation and displays an error message.
Tips
For information about specifying minimum and maximum values for signals and about how Simulink checks nondouble signals, see Specify Signal Ranges.
For referenced models in Accelerator mode, Simulink performs signal range checking for only root-level I/O signals. It does not check internal signals.
If you have an Embedded Coder® license, you can perform signal range checking in top-model or Model block software-in-the-loop (SIL) and processor-in-the-loop (PIL) simulations (Embedded Coder).
Command-Line Information
Parameter: SignalRangeChecking |
Value: 'none' | 'warning' | 'error' |
Default: 'none' |
Recommended Settings
Application | Setting |
---|---|
Debugging | warning or error |
Traceability | warning or error |
Efficiency | none |
Safety precaution | error |