MathWorks - Mobile View
  • Sign In to Your MathWorks AccountSign In to Your MathWorks Account
  • Access your MathWorks Account
    • My Account
    • My Community Profile
    • Link License
    • Sign Out
  • Products
  • Solutions
  • Academia
  • Support
  • Community
  • Events
  • Get MATLAB
MathWorks
  • Products
  • Solutions
  • Academia
  • Support
  • Community
  • Events
  • Get MATLAB
  • Sign In to Your MathWorks AccountSign In to Your MathWorks Account
  • Access your MathWorks Account
    • My Account
    • My Community Profile
    • Link License
    • Sign Out

Videos and Webinars

  • MathWorks
  • Videos
  • Videos Home
  • Search
  • Videos Home
  • Search
  • Contact sales
  • Trial software
  Register to watch video
  • Description
  • Related Resources

ECU Tuning and Data Logging Using CAN and Simulink

From the series: Improving Your Racecar Development

Christoph Hahn, MathWorks
Jose Avendano, MathWorks

Christoph Hahn and guest presenter Jose Avendano introduce you to options available for accessing the data within your vehicle’s CAN bus. Data obtained through Simulink® data logging or other devices can be directly integrated into virtual CAN channels to be included in simulations to assess fidelity and accuracy.

They discuss CAN data logging using Simulink hardware support packages for CAN devices. These tools allow you to log the information within your CAN network or to create custom data loggers depending on your needs. CAN replay functionality is also demonstrated to integrate data acquired into simulations or data visualizations for performance analysis. By implementing CAN interactions through Simulink support, you can create custom electronics that can use information directly from the vehicles CAN bus or even interact with existing CAN nodes.

The main takeaways of this second part of the RC Racecar series are that Simulink support packages for CAN devices allow you to create custom CAN data loggers, include CAN data in simulations, and create custom electronics to interact with existing CAN devices in the vehicle. You can also use these tools to create powerful visualizations of testing data, increase and verify the fidelity of your simulations, or program custom electronics that may provide you with a competitive advantage by having access to real-time information from the CAN bus.

Special thanks to Kvaser for participating in the creation of this demo and providing the necessary hardware.

For an introduction to the Vehicle Network Toolbox™ and an overview of the MATLAB® functionality, watch the MATLAB and Simulink Racing Lounge video “CAN Communication with Your ECUs and the Vehicle Network Toolbox”.

Also, check out the full range of functionality supported by the Vehicle Network Toolbox in the following product and examples pages.

  • Vehicle Network Toolbox
  • Vehicle Network Toolbox Examples

Find all models used in this episode on MATLAB Central File Exchange.

Related Products

  • Vehicle Network Toolbox
  • Simulink

Learn More

Watch related videos for students
Contact the MathWorks student competition team

Feedback

Featured Product

Vehicle Network Toolbox

  • Request Trial
  • Get Pricing

Up Next:

Save valuable development time by programming custom ECUs and vehicle controllers with the hardware support packages available for Simulink.
17:14
Programming ECUs Using Simulink
View full series (25 Videos)

Related Videos:

59:46
Interfacing with In-Vehicle Networks Using CAN Protocol
12:19
Debugging of VEX Simulink Models Using External Mode
4:09
Loading and Logging Data
32:43
Freedom from Run-Time Errors for AUTOSAR-Based ECU Software
4:06
Getting Started with the Simulink Data Dictionary

View more related videos

MathWorks - Domain Selector

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: .

Select web site

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
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文Chinese
    • English
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

  • Contact sales
  • Trial software

Explore Products

  • MATLAB
  • Simulink
  • Student Software
  • Hardware Support
  • File Exchange

Try or Buy

  • Downloads
  • Trial Software
  • Contact Sales
  • Pricing and Licensing
  • How to Buy

Learn to Use

  • Documentation
  • Tutorials
  • Examples
  • Videos and Webinars
  • Training

Get Support

  • Installation Help
  • Answers
  • Consulting
  • License Center
  • Contact Support

About MathWorks

  • Careers
  • Newsroom
  • Social Mission
  • Contact Sales
  • About MathWorks

MathWorks

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Discover…

  • Select a Web Site United States
  • Patents
  • Trademarks
  • Privacy Policy
  • Preventing Piracy
  • Application Status

© 1994-2021 The MathWorks, Inc.

  • Facebook
  • Twitter
  • Instagram
  • YouTube
  • LinkedIn
  • RSS

Join the conversation