Fixed-Point Blockset    
Unit Delay Enabled

Delay a signal one sample period, if the external enable signal is on

Library

Delays & Holds

Description

The Unit Delay Enabled block is a masked block that delays a signal by one sample period when the external enable signal E is on. While the enable is off, the block is disabled. It holds the current state at the same value and outputs that value. The enable signal is on when E is not 0, and off when E is 0.

You specify the block output for the first sampling period with the value Initial condition parameter.

The output data type is the same as the input u data type. The data type of the input u and the enable E can be any data type.

You input the sample time with the Sample time parameter. A setting of -1 means the Sample time is inherited.

Parameters and Dialog Box

Initial condition
Initial condition.
Sample time
Sample time.

Characteristics

Input Port u
Any data type supported by the blockset
Input Port E
Any data type supported by the blockset
Output Port
Same as the input u
Direct Feedthrough
No
Scalar Expansion
Yes

See Also

Unit Delay, Unit Delay Enabled External IC, Unit Delay Enabled Resettable, Unit Delay Enabled Resettable External IC, Unit Delay External IC, Unit Delay Resettable, Unit Delay Resettable External IC, Unit Delay With Preview Enabled, Unit Delay With Preview Enabled Resettable, Unit Delay With Preview Enabled Resettable External RV, Unit Delay With Preview Resettable, Unit Delay With Preview Resettable External RV


  Unit Delay Unit Delay Enabled External IC