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. 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

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics