Use Vector CAN hardware with MATLAB-Code Example

Send and receive CAN messages with Vector CAN and CAN FD devices.

You are now following this Submission

This MATLAB code example shows you how to send and receive CAN messages with a Vector CAN device in a loopback configuration. With Vehicle Network Toolbox, you can communicate with Vector CAN devices and transmit and receive CAN messages directly with MATLAB® and Simulink®.
Learn more about using MATLAB with CAN protocol:

Cite As

MathWorks Vehicle Network Toolbox Team (2026). Use Vector CAN hardware with MATLAB-Code Example (https://in.mathworks.com/matlabcentral/fileexchange/135797-use-vector-can-hardware-with-matlab-code-example), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2017a and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0