Byte Pack
Libraries:
Motor Control Blockset /
Signal Management
C2000 Microcontroller Blockset /
Target 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 (Embedded Coder) block.
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2024a
See Also
Byte Reversal | Byte Unpack | UDP Send (Embedded Coder)