Main Content

Target Communication

Communicate with targets using Byte Pack/Unpack, CAN Pack/Unpack, CAN FD, Protocol Encoder/Decoder and other blocks

Configure the blocks such as Byte Pack/Unpack, CAN Pack/Unpack, CAN FD, Protocol, and more to communicate with the targets.

Blocks

Byte PackConvert input signals to 8-, 16-, or 32-bit vector
Byte UnpackUnpack 8-, 16-, or 32-bit input vector to multiple output vectors
CAN PackPack individual signals into CAN message
CAN UnpackUnpack individual signals from CAN messages
CAN FD PackPack individual signals into message for CAN FD bus
CAN FD UnpackUnpack individual signals from CAN FD messages
Interprocess Data ReadReceive messages from another processor using interprocess communication channel (Since R2020b)
Interprocess Data WriteSend messages to another processor using interprocessor data write (Since R2020b)
Protocol EncoderEncode input data into a uint8 byte stream by specifying the packet structure (Since R2021b)
Protocol DecoderDecode a uint8 byte stream by specifying the packet structure (Since R2021b)

Featured Examples