主要内容

目标通信

使用数据处理模块与目标通信

配置 Byte Pack、Byte Unpack、Byte Reversal、Protocol Encoder、Protocol Decoder 等数据处理模块,以与目标设备通信并确保数据完整性。

模块

Protocol EncoderEncode input data into a uint8 byte stream by specifying the packet structure (自 R2021b 起)
Protocol DecoderDecode a uint8 byte stream by specifying the packet structure (自 R2021b 起)
Byte PackConvert input signals to 8-, 16-, or 32-bit vector
Byte UnpackUnpack 8-, 16-, or 32-bit input vector to multiple output vectors
Byte ReversalReverse little-endian data for big-endian processor

精选示例