CAN Communication with Your ECUs and the Vehicle Network Toolbox
From the series: Improving Your Racecar Development
To interface directly with the vehicle and access vehicle operations, Christoph Hahn and software developer Jaremy Pyle of MathWorks, introduce Vehicle Network Toolbox™ and demonstrate how it provides connectivity from controller area networks (CANs) to MATLAB® and Simulink®.
In-vehicle networks are the backbone of the electronic operations of a car. A vehicle is essentially a distributed embedded system. The CAN is the most common protocol within this system. Vehicle Network Toolbox provides a direct connection from the CAN networks to MATLAB and Simulink, enabling you to inspect, test, and validate the operation of a vehicle before an actual dynamic event.
From MATLAB or Simulink, you can monitor, filter, and analyze live CAN bus data or log and record CAN messages for later analysis and replay. In a software demonstration, Jaremy uses Vehicle Network Toolbox to send CAN data from MATLAB into a Simulink model and then return that data in a more visual format. These tools assist greatly during the initial development to virtually prove out concepts, set up test environments, and easily change from the virtual environment to a real device. This simplifies the process of iterating as you switch from vehicle to simulation.
Vehicle Network Toolbox provides a single environment for all CAN network interfaces. A great place to start is by accessing the documentation, which provides explanations and examples of functions.
Published: 13 Apr 2015
Related Products
Learn More
Select a Web Site
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
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)