22.214.171.124. Element by Element Mode
This mode provides a convenient way to generate a uniform array to handle each element of data in a vector signal, without having to manually instantiate multiple blocks.
Internally, DSP Builder generates identical block instantiations, one for each element in the vector signal. The vector width propagates through the Simulink system.
Change this mode of operation in one of the following two ways:
- Drive the block with a vector signal.
- Initialize the block with a vector of values. This option is only available for blocks that you can initialize with a user-specified value.
The following restrictions exist on the vectors:
- Vector signals must be of uniform type.
- Signals associated with a block must either be vectors of identical width, or scalar.
When you use a scalar value with vectors, DSP Builder uses a copy of the single scalar value with each data element in the vector signal.
This behavior is analogous to the scalar expansion that occurs with Simulink blocks.
Did you find the information on this page useful?