Vehicle Network Toolbox™ provides apps for CAN and CAN FD message exploration, and support
building your own apps.
Use the CAN Explorer app to receive and visualize CAN data. It uses MathWorks® Virtual channels which are connected in a loopback configuration. CAN Explorer is configured to receive data using MathWorks Virtual 1 Channel 1. Pre-recorded data is provided in a MAT-file and replayed onto MathWorks Virtual 1 Channel 2 to emulate CAN traffic generated from connecting to an actual vehicle system.
Use the CAN FD Explorer app to receive and visualize CAN FD data. It uses MathWorks® Virtual channels which are connected in a loopback configuration. CAN FD Explorer is configured to receive data using MathWorks Virtual 1 Channel 1. Pre-recorded data is provided in a MAT-file and replayed onto MathWorks Virtual 1 Channel 2 to emulate CAN FD traffic generated from connecting to an actual vehicle system.
Execute a forward collision warning (FCW) application with sensor and vision data replayed live via CAN FD and TCP/IP protocols. Recorded data from a sensor suite mounted on a test vehicle are replayed live as if they were coming through the network interfaces of the vehicle. Vehicle Network Toolbox™ and Instrument Control Toolbox™ provide these interfaces. This setup is used to test an FCW system developed using features from Automated Driving Toolbox™. For assistance with the design and development of actual FCW algorithms, refer to the example Forward Collision Warning Using Sensor Fusion.
Construct a test application user interface (UI) and connect it to a Simulink model using virtual CAN channels. The test application UI is constructed using MATLAB App Designer™ along with several Vehicle Network Toolbox™ functions to provide a virtual CAN bus interface to a Simulink model of an automotive cruise control application. The test application UI allows a user to provide input stimulus to the cruise control algorithm model, observe results fed back from the model, log CAN messages to capture test stimuli, and replay logged CAN messages to debug and correct issues with the algorithm model. The example shows the key Vehicle Network Toolbox functions and blocks used to implement CAN communication in the following areas:
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office
Get trial now