Main Content

Enable minimal zero-crossing impact integration

Option to reduce the effect of zero crossings on continuous state integration

Model Configuration Pane: Solver

Description

The Enable minimal zero-crossing impact integration configuration parameter specifies whether the solver tries to reduce the effect of zero crossings that occur during simulation on the integration of continuous states in variable-step simulations.

Dependencies

To enable this parameter, set the solver Type to Variable-step.

Settings

off (default) | on
off

The solver does not try to reduce the impact of zero crossings on the integration of continuous states.

on

The solver tries to reduce the impact of zero crossings on the integration of continuous states.

Recommended Settings

The table summarizes recommended values for this parameter based on considerations related to code generation.

ApplicationSetting
Debuggingoff
Traceabilityoff
Efficiencyon
Safety precautionNo impact

Programmatic Use

Parameter: MinimalZcImpactIntegration
Type: string | character vector
Values: "on" | "off"
Default: "off"

Version History

Introduced in R2018a