Main Content

Target Communication

R2026b
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 Pack blockByte PackConvert input signals to 8-, 16-, or 32-bit vector
Byte Unpack blockByte UnpackUnpack 8-, 16-, or 32-bit input vector to multiple output vectors
CAN Pack blockCAN PackPack individual signals into CAN message
CAN Unpack blockCAN UnpackUnpack individual signals from CAN messages
CAN FD Pack blockCAN FD PackPack individual signals into message for CAN FD bus
CAN FD Unpack blockCAN FD UnpackUnpack individual signals from CAN FD messages
Block icon of interprocess data read.Interprocess Data ReadReceive messages from another processor using interprocess communication channel
Interprocess Data WriteSend messages to another processor using interprocessor data write
Protocol EncoderProtocol EncoderEncode input data into a uint8 byte stream by specifying the packet structure
Protocol DecoderProtocol DecoderDecode a uint8 byte stream by specifying the packet structure

Featured Examples