Number of consecutive min steps

Description

Specify the maximum number of consecutive minimum step size violations allowed during simulation.

Category: Solver

Settings

Default: 1

  • A minimum step size violation occurs when a variable-step continuous solver takes a smaller step than that specified by the Min step size property (see Min step size).

  • Simulink® software counts the number of consecutive violations that it detects. If the count exceeds the value of Number of consecutive min steps, Simulink software displays either a warning or error message as specified by the Min step size violation diagnostic (see Min step size violation).

Dependencies

This parameter is enabled only if you set:

  • Solver Type to Variable-step.

  • Solver to a continuous variable step solver.

Command-Line Information

Parameter: MaxConsecutiveMinStep
Type: character vector
Value: any valid value
Default: '1'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics