メインコンテンツ

ターゲット通信

データ処理ブロックを使用したターゲットとの通信

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

注目の例