Deserialize
The block performs a deserilization of data coded as set of bytes.
Description
The deserialize block generates outputs of different types and sizes based on block parameters Endianness and alignment.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
nout | Number of outputs | Defines the number of outputs of the block. | Number | |
outports | Output ports | Defines the data type and size for each port. | Structure | |
outports/rowsize | Row size | Defines the row size for each output port | Cell of scalars | |
outports/colsize | Column size | Defines the column size for each output port | Cell of scalars | |
outports/datatype | Data Type | Defines the data type for each output port | Cell of strings | 'double' |
align | Byte alignment | Defines the number of bit shifts | Scalar | 1 |
mode | Endianness | Defines the Endianness mode. Network is always big endian. | String | 'host' |
externalActivation | External Activation | This parameter defines if the block receives an external activation or inherits. When External Activation is used, a additional activation port is added to the block. default is OFF. | Number | 0 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Port 1 | explicit | output | nout | |
Port 2 | activation | input | externalActivation | |
Port 3 | explicit | input | 1 |