Main Content

Maximum number of zero-crossings per step

Description

Specify the maximum number of zero-crossings Simulink® will try to locate in each fixed-step

Category: Solver

Settings

Default: 2

More iterations produce a more accurate solution, but are more computationally intensive per step size.

Dependency

This option is visible only if the Solver Type is set to Fixed-Step and the Enable zero-crossing detection for fixed-step simulation is set to On. Additionally, Solver should be a continuous solver.

Command-Line Information

Parameter: MaxZcPerStep
Value: '1'
Type: integer
Value: real positive number
Default: 2

Related Topics