| Simulink Reference | ![]() |
Delay a signal one sample period, if the external enable signal is on
Library
Additional Math & Discrete / Additional Discrete
Description
The Unit Delay Enabled block 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.
Data Type Support
The Unit Delay Enabled block accepts signals of any data type supported by Simulink, including fixed-point data types.
Parameters and Dialog Box
-1. See Specifying Sample Time in the online documentation for more information.
Characteristics
| Direct Feedthrough |
No |
| Sample Time |
Specified in the Sample time parameter |
| 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 | ![]() |
© 1994-2005 The MathWorks, Inc.