Main Content

Min step size violation

Description

Select the diagnostic action to take if Simulink®software detects that the next simulation step is smaller than the minimum step size specified for the model.

Category:Diagnostics

Settings

Default:warning

warning

Simulink software displays a warning.

error

Simulink software terminates the simulation and displays an error message.

Tips

  • A minimum step size violation can occur if the specified error tolerance for the model requires a step size smaller than the specified minimum step size. SeeMin step sizeandMaximum orderfor more information.

  • Simulink software allows you to specify the maximum number of consecutive minimum step size violations permitted (seeNumber of consecutive min steps).

Command-Line Information

Parameter:MinStepSizeMsg
Value:'warning'|'error'
Default:'warning'

Recommended Settings

Application Setting
Debugging No impact
Traceability No impact
Efficiency No impact
Safety precaution No impact

Related Topics