Hi Inna,
The "Output port dimension" parameter defines the size of the outputs produced by the "Byte Unpacking" block, as explained in the documentation. For example, suppose you receive a vector of 15 uint8 packets as an input, and you know that these packets contain the following signals:
- 2x single (2x 32 bits / 2x 4 bytes)
- 3x int16 (3x 16 bits / 3x 2 bytes)
- 1x uint8 (1x 8 bits / 1x 1 byte)
You would configure the "Byte Unpack" block as follows:
- Output data type: {['single'], ['int16'], ['uint8']}
- Output dimension: {[2],[3],[1]}
This would generate 3 output ports for the "Byte Unpacking" block, the first being a vector of 2 single values, the second a vector of 3 int16 values and the third a uint8 signal.
In your case, you go from uint8 to int16, so the output dimension in your case would be the input dimension divided by 2.
I hope this is helpful!
Dimitri