Select the diagnostic action to take if the value of a block
output is Inf
or NaN
at the
current time step.
Note
Accelerator mode does not support any runtime diagnostics.
Category: Diagnostics
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.
This diagnostic applies only to floating-point overflows
for double
or single
data types.
To check for integer and fixed-point overflows, select the Wrap on overflow diagnostic. (See Wrap on overflow for more information.)
For models referenced in accelerator mode, Simulink ignores
the Info or NaN block output parameter setting
if you set it to a value other than None
.
You can use the Model Advisor to identify referenced models for which Simulink changes configuration parameter settings during accelerated simulation.
In the Simulink Editor, in the Modeling tab, click Model Advisor, then click OK.
Select By Task.
Run the Check diagnostic settings ignored during accelerated model reference simulation check.
Parameter: SignalInfNanChecking |
Value: 'none' | 'warning' | 'error' |
Default: 'none' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | error |