Use Vector CAN hardware with MATLAB-Code Example

Send and receive CAN messages with Vector CAN and CAN FD devices.
337 Downloads
Updated 22 Sep 2023

View License

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 (2025). 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 .

MATLAB Release Compatibility
Created with R2023b
Compatible with R2017a and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0