CAN Network Communication
Send and receive messages over CAN bus
Controller Area Network (CAN network) is a vehicle bus standard that allows microcontrollers and devices to communicate with each other within a vehicle. CAN is a message-based protocol originally designed for automotive applications, but it is also used in other areas such as industrial automation.
MATLAB and Simulink together with Vehicle Network Toolbox let you:
- Connect your PC to your CAN network using a variety of supported CAN interface hardware.
- Send and receive CAN messages over your CAN network
- Filter CAN messages
- Use CAN database files to encode and decode messages
- Generate code from CAN Simulink blocks
Examples and How To
CAN Bus Communication from Simulink
- Basic CAN Communication with Simulink (Example)
- CAN Message Replay and Logging (Example)
- Host Target CAN Communication (Example)
CAN Bus Communication from MATLAB
- Basic CAN Communication with MATLAB (Example)
- Using CANdB Files (Example)
- Handling CAN Messages (Example)
- Filtering CAN Messages (Example)
Software Reference
- Vehicle Network Toolbox Simulink Blocks (Documentation)
- Supported CAN Bus Interface Devices (Supported Hardware Link)
See also: Data Acquisition, Test and Measurement
