Main Content

Min step size violation

Diagnostic action to take when minimum step size violation occurs

Model Configuration Pane: Diagnostics

Description

The Min step size violation parameter specifies the diagnostic action to take when a minimum step size violation occurs. A minimum step size violation occurs when the number of consecutive steps less than or equal to the minimum step size exceeds the value specified for the Number of consecutive min steps parameter.

By default, the value of the Number of consecutive in steps parameter is 1, and the software does not allow any consecutive steps that are less than or equal to the minimum step size. Specify the minimum step size using the Min step size parameter.

Settings

warning (default) | error
warning

The software issues a warning.

error

The software issues an error and terminates the simulation.

Programmatic Use

Parameter: MinStepSizeMsg
Type: string | character vector
Value: "warning" | "error"
Default: "warning"

Version History

Introduced before R2006a