Main Content

Utilities

Data marshalling

To manage data flows at the bit and byte level, use the utility blocks.

Blocks

Bit PackingConstruct data frames
Bit UnpackingDeconstruct data frames
Byte PackingConstruct data frames
Byte UnpackingDeconstruct data frames
Byte Reversal/Change EndianessReverse little-endian data for big-endian processor
Protocol DecoderDecode a uint8 byte stream by specifying the packet structure (Since R2023b)
Protocol EncoderEncode input data into a uint8 byte stream by specifying the packet structure (Since R2023b)
Shared Memory PackShared memory pack
Shared Memory UnpackShared memory unpacking