As shown in the following figure, when zero-crossing detection is enabled, the
variable-step Simulink solver simulates the model at the time, Ttrig, when the trigger
signal is detected. Ttrig may lie between the simulation time steps Tn-1 and Tn which
are automatically chosen by the solver.Computes linear system
characteristics at this time pointTimeAmplitude
10
Tn-1 Ttrig TnTrigger signalFor more information on zero-crossing detection, see “Zero-Crossing Detection”
(Simulink) in the Simulink User Guide.SettingsDefault: OnOn
Compute linear system characteristics at the exact snapshot time or exact time when
a trigger signal is detected.This setting is ignored if the Simulink solver is fixed step.Off
Compute linear system characteristics at the simulation time steps that the variable-
step solver chooses. The software may not compute the linear system at the exact
snapshot time or exact time when a trigger signal is detected.Command-Line Information
Parameter: ZeroCross
Type: character vector
Value: 'on' | 'off'
Default: 'on'See AlsoPlot Linear Characteristics of Simulink Models During Simulation on page 2-8216 Blocks — Alphabetical List