Extend true duration of input
Simulink Design Verifier
True duration of a signal —
Consecutive time steps during which a signal is
The Extender block extends the true duration of the input signal by a fixed number of steps (finite extension mode) or indefinitely.
The inputs and outputs of the Extender block are of Boolean type.
Finite (the default) to specify
a fixed number of time steps for extension. Select
specify indefinite extension.
For finite extension, specify the number of time steps for extending
the true duration (minimum is
Specify whether an external Boolean reset signal can reset the
block extension. The reset signal also resets the infinite extension.
The infinite extension with an external reset is an indefinite extension
until the external reset signal becomes
In the following example, do the following:
Set the model sample time to
For the Extender block:
Set the Extension Period parameter
Set the Time steps for extension parameter
If the input signal becomes
true during the
extension period, the output continues to be
is extended after the last input
is complete. You can see this in the following scope.