Select the diagnostic action to take when Simulink® software detects that the number of consecutive zero crossings exceeds the specified maximum.
Category: Diagnostics
Default:
error
none
Simulink software takes no action.
warning
Simulink software displays a warning.
error
Simulink software terminates the simulation and displays an error message.
If you select warning
or
error
, Simulink software reports the current simulation time, the number of
consecutive zero crossings counted, and the type and name of the block in
which Simulink software detected the zero crossings.
For more information, see Preventing Excessive Zero Crossings.
This diagnostic applies only when you are using a variable-step solver and the
zero-crossing control is set to either Enable all
or
Use local settings
.
Parameter:
MaxConsecutiveZCsMsg |
Value:
'none' | 'warning'
|
Default:
'error' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | warning or
error |