Main Content

Extender

Extend true duration of input

Library

Simulink Design Verifier

  • Extender block

Temporal Operators Terminology

  • True duration of a signal — Consecutive time steps during which a signal is true

Description

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.

Parameters

Extension Period

Select Finite (the default) to specify a fixed number of time steps for extension. Select Infinite to specify indefinite extension.

Time steps for extension

For finite extension, specify the number of time steps for extending the true duration (minimum is 1).

External reset

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 true.

Examples

In the following example, do the following:

  • Set the model sample time to 1 second.

  • For the Extender block:

    • Set the Extension Period parameter to Finite.

    • Set the Time steps for extension parameter to 2

If the input signal becomes true during the extension period, the output continues to be true and is extended after the last input true duration is complete. You can see this in the following scope.

Version History

Introduced in R2011a