Main Content

Min step size violation


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


Default: warning


Simulink software displays a warning.


Simulink software terminates the simulation and displays an error message.


  • 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. See Min step size and Maximum order for more information.

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

Command-Line Information

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

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics