User`s guide
Unbuffer
5-464
Latency
Zero Latency. The Unbuffer block has zero tasking latency in Simulink’s
single-tasking mode. Zero tasking latency means that the first input sample
(received at t=0) appears as the first output sample.
Nonzero Latency. For multitasking operation, the Unbuffer block’s buffer is
initialized with the value specified by the
Initial condition parameter, and the
block begins unbuffering this frame at the start of the simulation. Inputs to the
block are therefore delayed by one buffer length, or M
i
samples.
The
Initial condition parameter can be one of the following:
•A scalar to be repeated for the first M
i
output samples of every channel
•A length-M
i
vector containing the values of the first M
i
output samples for
every channel
•An M
i
-by-N matrix containing the values of the first M
i
output samples in
each of N channels
0000
t=0
t=6
t=3
T
fi
= 3
101 1–
300 3–
201 2–
400 4–
501 5–
700 7–
800 8–
901 9–
400 4–
501 5–
601 6–
101 1–
201 2–
300 3–
first matrix input
t=0
t=1
ch4
ch3
ch1
ch2
Frame-based input,
frame period = T
fi
Sample-based output,
sample period = T
fi
/M
i
T
so
= T
si
= 1
0000
0000
t=2
t=3
t=4
t=5
t=7
t=6
ch4
ch3
ch1
ch2
initial condition
(multitasking delay)