Detector
Detect true duration on input and construct output true duration based on output type
Libraries:
Simulink Design Verifier /
Temporal Operators
Description
This block detects a fixed number of consecutive time steps where the input signal is true and constructs an output signal based on the selected output type. The terminology used to explain the detector block is given below:
True duration of a signal — Consecutive time steps during which a signal is true
Length of the true duration of the signal — The number of time steps that constitute the true duration
Input detection phase — The phase that is complete at the final time step of the expected length of the input true duration
Output construction phase— The phase when the block constructs a true duration at the output based on the output type of the block
Delay duration — The number of time steps of delay after input detection, after which the output signal is true
On input detection, the Detector block constructs an output signal based on one of the two output types that you specify:
Delayed Fixed Duration
—After the input detection is complete and after an optional delay, the output signal becomestrue
for a fixed number of time steps. The true duration of the output is independent of the input.Synchronized
—In the final time step of the input detection, the output becomestrue
and staystrue
as long as the input signal continues to betrue
. The true duration of the output varies and is synchronized with the true duration of the input.
Ports
Input
Output
Parameters
Version History
Introduced in R2011a