Simulation range checking
Diagnostic action to take when signal value is outside its specified value range
Model Configuration Pane: Diagnostics / Data Validity
Description
The Simulation range checking parameter specifies the diagnostic action to take when a signal value is less than its specified minimum value or greater than its specified maximum value. For information about specifying value ranges for signals and how the software checks signals that have a data type other than double
, see Specify Signal Ranges.
The software performs signal range checking only for root-level input and output signals of model references that simulate in accelerator mode.
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. For more information, see Choose a SIL or PIL Approach (Embedded Coder).
Settings
none
(default) | warning
| error
none
The software does not issue a diagnostic if a signal value is outside its specified range.
warning
The software issues a warning if a signal value is outside its specified range.
error
The software issues an error and terminates the simulation if a signal value is outside its specified range.
Recommended Settings
Application | Setting |
---|---|
Debugging | warning or error |
Traceability | warning or error |
Efficiency | none |
Safety precaution | error |
Programmatic Use
Parameter: SignalRangeChecking |
Type: string | character vector |
Value: "none" | "warning" | "error" |
Default: "none" |
Version History
Introduced in R2009a