Main Content

Min step size violation

Diagnostic behavior when minimum step size violation occurs

Model Configuration Pane: Diagnostics

Description

This parameter specifies the diagnostic behavior 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 for 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.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: MinStepSizeMsg
Value: 'warning' | 'error'
Default: 'warning'

Version History

Introduced before R2006a