Unit Delay Enabled Resettable Synchronous
Delays the input signal by one count when the external signal on the Enable port is true and the external signal on the Reset port is false.
Description
Block Unit Delay Enabled Resettable Synchronous delays the input signal u by one count when the external signal at input E (Enable) is true and the external signal at input R (Reset) is false. When the Enable signal is false, the output signal is equal to the previous count of the input signal. When the Reset signal is true, the output signal takes the value of the Initial condition parameters. The Enable and Reset signals are true when E and R are positive, and false when E and R are less than or equal to zero.
Ports
Input
#
u
—
input signal
scalar
| vector
| matrix
| array
| bus
Details
The input signal of the data types listed below. For details, refer toData Types.
Data types |
|
Complex numbers support |
Yes |
#
E
—
enable signal
scalar
Details
Activation input signal. For details, refer toData Types.
Data types |
|
Complex numbers support |
No |
#
R
—
reset signal
scalar
Details
Input reset signal. For details, refer toData Types.
Data types |
|
Complex numbers support |
No |
Output
#
y
—
output signal
scalar
| vector
| matrix
| array
| bus
Details
Output. The output data type is the same as the input data.
Data types |
|
Complex numbers support |
Yes |
Parameters
Parameters
#
Initial condition —
initial value of the output signal
Scalar / array of real and/or complex numbers
Details
Initial value of the output signal. The Initial condition parameters can be a scalar value or the same dimension as the input signal. The Initial condition parameters must use the same data type as the input signal.
This parameter cannot be set to NaN
or Inf
.
Default value |
|
Program usage name |
|
Tunable |
Yes |
Evaluatable |
Yes |
#
Sample time (-1 for inherited) —
time interval between readings
SampleTime (real number / vector of two real numbers)
Details
The time interval between samples, given as a real scalar or vector. A scalar specifies the period, and a two-valued vector specifies the period and offset. The period and offset must be finite and non-negative, and the offset must be less than the period.
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |