Main Content

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 theMin step sizeproperty (seeMin step size).

  • 金宝app®software counts the number of consecutive violations that it detects. If the count exceeds the value ofNumber of consecutive min steps, Simulink software displays either a warning or error message as specified by theMin step size violationdiagnostic (seeMin step size violation).

Dependencies

This parameter is enabled only if you set:

  • SolverTypetoVariable-step.

  • Solverto a continuous variable step solver.

Command-Line Information

Parameter:MaxConsecutiveMinStep
Type:特征向量
Value:any valid value
Default:'1'

Recommended Settings

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

Related Topics