What Is Vehicle Network Toolbox?
Vehicle Network Toolbox™ provides MATLAB® functions and Simulink® blocks to send, receive, encode, and decode CAN, CAN FD, J1939, and XCP messages. The toolbox lets you identify and parse specific signals using industry-standard CAN database files and then visualize the decoded signals using the CAN Bus Monitor app. Using A2L description files, you can connect to an ECU via XCP on CAN or Ethernet. For each ECU, you can read and write data to specific memory locations within the ECU. The toolbox provides functions and blocks for creating and viewing dynamic DAQ and STIM measurement lists for an XCP channel. You can also access messages and measurement data stored in MDF files. The toolbox supports version 3.0 and higher of the MDF standard. For large MDF files that don’t fit in memory, you can create an MDF datastore and preview the data in batches based on parameters that you specify. You can also create a datastore to easily work with a collection of similar MDF files.
The toolbox simplifies communication with in-vehicle networks and lets you monitor, filter, and analyze live CAN bus data or log and record messages for later analysis and replay. You can simulate message traffic on a virtual CAN bus or connect to a live network or ECU. Vehicle Network Toolbox supports CAN interface devices from Vector, Kvaser, PEAK-System, and National Instruments®.
Published: 10 Mar 2021
Vehicle Network Toolbox lets you stream in data from a vehicle CAN bus, test and calibrate vehicle networks, and easily build interactive test systems. Together with MATLAB and Simulink, it provides you with a single environment to develop and test automotive control algorithms with real data.
With Vehicle Network Toolbox, you can send and receive vehicle data using common industry standard protocols and file formats. Supported protocols include CAN, CAN FD, and J1939. You can also communicate directly with ECUs using XEP protocol to perform ECU calibrations or bypassing and to read and write ECU measurements and adjust gain offsets and lookup tables. In terms of file format support, Vehicle Network Toolbox can read A2L and DBC files and measurement data format, or MDF files.
Vehicle Network Toolbox includes the CAN and CAN FD Explorer apps, which let you view raw CAN messages and decode these messages into their associated signals. The app provides live visualizations of traffic on the bus and automatically decodes the signal information from the associated CAN database file that you provide.
The Toolbox can be used to simulate traffic on a vehicle bus using real CAN interface hardware or using virtual channels. With virtual channels, you can send and receive CAN messages without any physical hardware. You can log messages from the CAN bus into MATLAB or Simulink and use replay functions and blocks for simulation testing. You can also build graphical user interfaces to automate your interactive tests and simulations, and you can use MATLAB Compiler to deploy your application on computers that don't have MATLAB.
The Toolbox supports a variety of CAN interface hardware from Vector, Quasar, Peak System, and National Instruments. There are additional resources available to help you learn more about Vehicle Network Toolbox. The product page includes-- hardware support pages for each supported vendor; full product documentation, including over 40 examples; and a large selection of videos and webinars.
For more information, return to the Product page, or choose the link below.