Main Content

Communication in Simulink

Vehicle network communication in Simulink® using CAN

The Vehicle Network Toolbox™ block library includes sets of blocks that allow you to perform CAN or CAN FD communication in Simulink models.

Blocks

expand all

CAN ConfigurationConfigure parameters for specified CAN device
CAN PackPack individual signals into CAN message
CAN ReceiveReceive CAN messages from specified CAN device
CAN TransmitTransmit CAN message to selected CAN device
CAN UnpackUnpack individual signals from CAN messages
CAN ReplayReplay logged CAN messages
CAN LogLog received CAN messages
CAN FD ConfigurationConfigure parameters for specified CAN FD device
CAN FD PackPack individual signals into message for CAN FD bus
CAN FD UnpackUnpack individual signals from CAN FD messages
CAN FD ReceiveReceive CAN FD messages from specified CAN FD device
CAN FD TransmitTransmit CAN FD message to selected CAN FD device
CAN FD LogLog received CAN FD messages
CAN FD ReplayReplay logged CAN FD messages

Functions

canMessageBusTypeCreate Simulink CAN message bus
canFDMessageBusTypeCreate Simulink CAN FD message bus
canMessageReplayBlockStructConvert CAN messages for use as CAN Replay block output

Topics

Featured Examples