User`s guide
Buffer
5-45
Nonzero Latency
Sample-Based Operation. For all cases of sample-based single-tasking operation 
other than those listed above, the Buffer block’s buffer is initialized to the 
value(s) specified by the 
Initial conditions parameter, and the block reads 
from this buffer to generate the first D output samples, where
If the 
Buffer overlap, L, is zero, the Initial conditions parameter can be a 
scalar to be repeated across the first M
o
 output samples, or a length-M
o
 vector 
containing the values of the first M
o
 output samples. For nonzero Buffer 
overlap
, the Initial conditions parameter must be a scalar.
Frame-Based Operation. For frame-based single-tasking operation and all 
multitasking operation, use the 
rebuffer_delay function to compute the exact 
delay (in samples) that the Buffer block introduces for a given combination of 
buffer size and buffer overlap.
For general buffering between arbitrary frame sizes, the 
Initial conditions 
parameter must be a scalar value, which is then repeated across all elements 
of the initial output(s). However, in the special case where the input is 1-by-N 
(and the block’s output is therefore an M
o
-by-N matrix), Initial conditions can 
be:
•An M
o
-by-N matrix
•A length-M
o
 vector to be repeated across all columns of the initial output(s)
•A scalar to be repeated across all elements of the initial output(s)
In the special case where the output is 1-by-N (the result of unbuffering an 
M
i
-by-N frame-based matrix), Initial conditions can be:
•A vector containing M
i
 samples to output sequentially for each channel 
during the first M
i
 sample times 
•A scalar to be repeated across all elements of the initial output(s)
D
M
o
L+ L 0≥()
M
o
L 0<()
=










