This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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