Vehicle Network Toolbox
Vehicle Network Toolbox provides MATLAB functions and Simulink blocks for working with CAN, CAN FD, J1939, and XCP protocols. It enables sending, receiving, encoding, and decoding messages, and supports signal parsing using standard DBC files. You can visualize decoded signals with CAN Explorer apps and connect to ECUs via XCP using A2L files. The toolbox allows access to MDF data, supports live monitoring and logging of CAN traffic, and enables virtual simulation or real hardware connections. It works with CAN hardware from Vector, Kvaser, PEAK-System, and NI®.
CAN Communication
Set up a CAN or CAN FD connection, then send, receive, encode, and decode messages. Log messages for offline analysis or replay them in other Simulink models.
XCP Protocol
Communicate with ECUs using the XCP protocol over CAN, CAN FD, or Ethernet. Access specific ECU memory locations and use A2L files for calibration and measurement.
J1939 Protocol
Set up J1939 communication by linking a database file, selecting CAN hardware, and transmitting or receiving parameter groups while encoding and decoding signal data.
CAN and CAN FD Apps
Use the CAN Explorer and CAN FD Explorer apps to monitor live traffic on a CAN channel, decode messages, and view data in engineering units.
A2L Description Files
Use A2L (ASAP2) files to communicate with ECUs via XCP in MATLAB or Simulink. These files provide memory addresses, data types, and conversion rules, streamlining calibration and measurement processes.
MDF Files
Easily import, export, and create MDF files, view their properties, and write timetable data. Read subsets of large MDF files and use datastores for efficient processing.
Virtual Channels
Simulate CAN and CAN FD communications using virtual channels in a loopback setup, with support for MathWorks and third-party virtual interfaces like Vector and Kvaser—no physical hardware required.
Vector CAN Database Files
Use Vector DBC files in MATLAB or Simulink to associate CAN channels or messages, enabling encoding and decoding with meaningful names and engineering units. In Simulink, use CAN Pack and Unpack blocks to work with CAN messages defined in ARXML files.
CDFX Files
Access ASAM CDFX calibration data using the cdfx function in Vehicle Network Toolbox, and use this data as inputs for your Simulink models.