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
Functions
canMessageBusType | Create Simulink CAN message bus |
canFDMessageBusType | Create Simulink CAN FD message bus |
canMessageReplayBlockStruct | Convert CAN messages for use as CAN Replay block output |
Topics
- CAN Communication Workflows in Simulink
Common CAN model workflows.
- Vehicle Network Toolbox Simulink Blocks
Introduction to the Vehicle Network Toolbox block library.
- Open the Vehicle Network Toolbox Block Library
How to access the block library in Simulink.
- Build CAN Communication Simulink Models
Examples of using Vehicle Network Toolbox blocks.
- ARXML File Support for CAN in Simulink
CAN Pack and CAN Unpack blocks support ARXML files, including Protocol Data Unit (PDU).
- Timing in Hardware Interface Models
Determine block execution frequency and relate to real-world time.
- Create Custom CAN Blocks
Create custom
Receive
andTransmit
blocks to use with hardware not directly supported by the toolbox. - Supported Block Features
Supported features of blocks in the Vehicle Network Toolbox block library.