You can configure Simulink® Real-Time™ scopes to acquire data right away, or define triggers for scopes so that the Simulink Real-Time scopes wait until they are triggered to acquire data. You can configure Simulink Real-Time scopes to start acquiring data when a predefined trigger condition is met. The exact condition depends on the trigger mode that you specify.
Freerun — Acquires data
when the scope is started (default).
Software — Acquires data in response to a user request, such
as a call to one of the Scope functions (
trigger (targetScope)) or a call to a C or
.NET API function (
Signal — Acquires data when
a particular signal has crossed a preset level.
Scope — Acquires data when
another (triggering) scope starts.
You can use several additional properties to refine when a scope
starts to acquire data. For example, if you want the scope to be triggered
when another signal crosses a certain value, use
The signal to trigger the scope.
The trigger level that the signal must cross to trigger the scope to start acquiring data.
Whether the scope is triggered on a rising signal, falling signal, or either one.
The trigger point is the sample at which
the scope trigger condition is satisfied. For signal triggering, the
trigger point is the sample at which the trigger signal passes through
the trigger level. At the trigger point, the scope acquires the first
sample. By default, scopes start acquiring data from the trigger point
onwards. You can modify this behavior using pretriggering and posttriggering
NumPrePostSamples scope property. See Pretriggering and Posttriggering of Scopes.