Skip to Main Content Skip to Search
Product Documentation

CAN Communication in Simulink

Message Transmission Workflow

This workflow represents the most common CAN Transmit model. Adjust your model as needed. For more workflow examples, see Building Simulink Models to Transmit and Receive Messages and the Vehicle Network Toolbox demos.

Using Mux Blocks

Message Reception Workflow

For workflow examples, see Building Simulink Models to Transmit and Receive Messages and the Vehicle Network Toolbox demos.

Message Filtering

Set up filters to process only relevant messages. This ensures optimal simulation performance.

Do not set up filters if you need to parse all bus communications.

Function-Call Triggered Message Processing

Set up your CAN Unpack block:

Downstream Processing

For any downstream processing using received messages, include blocks:

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS