Deserialize

The block performs a deserilization of data coded as set of bytes.

    Deserialize

Library

Communicate

Description

The deserialize block generates outputs of different types and sizes based on block parameters Endianness and alignment.

Parameters

Deserialize_0

NameLabelDescriptionData TypeValid 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'
'int32'
'int16'
'int8'
'uint32'
'uint16'
'uint8'
'boolean'

align

Byte alignment

Defines the number of bit shifts

Scalar

1
2
4
8

mode

Endianness

Defines the Endianness mode. Network is always big endian.

String

'host'
'network'

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
1

Ports

NameTypeDescriptionIO TypeNumber

Port 1

explicit

output

nout

Port 2

activation

input

externalActivation

Port 3

explicit

input

1