Byte Pack
Convert input signals to uint8
vector
Libraries:
Embedded Coder /
Embedded Targets /
Host Communication
Description
The Byte Pack block receives input signals of one or more data types and converts the data
to one uint8
vector for output. Use block parameters to specify data types
of the input signals and the alignment of the data in the vector that the block outputs.
Because the UDP protocol transmits data in uint8
format, you can use this
block to reformat data for UDP transmission by connecting the output of this block to the
input of a UDP Send block.
Ports
Input
Output
Parameters
Version History
Introduced in R2011a