Unpack Data

Unpack array of bytes into an integer array using a Simulink block

Library

Pack and Unpack Data

Description

Unpack an array of bytes into an integer of the specified type and size

Data Type

Unpackaged output can be any of the following supported int data types:

*when uint8 is specified, the input is passed through

Size

Input data must be a 1-dimensional array. There is no limit to the length of the array

Dialog Box

DataType

Specify the data type of the unpackaged output

DataSize

Specify the data size of the unpackaged output

Code Generation

This block is supported for code generation. It can be be used in a Simulink model, deployed to a target, or converted into a standalone executable or mex file.

See Also

Pack Data