File Exchange

image thumbnail

Real-Time Driver-in-the-Loop Reference Application

version 4.0.0 (35.7 MB) by Speedgoat Application Engineering Team
Learn how to create and run real-time virtual vehicles and Driver-in the-Loop simulators to safely test and validate your new designs.


Updated 21 Apr 2021

From GitHub

View Version History

View license on GitHub

Learn how to:
- Use Vehicle Dynamics Blockset™ to model complex vehicle dynamics and driving maneuvers
- Create real-time simulations of virtual vehicles with Simulink Real-Time™ and Speedgoat target hardware
- Employ Simulink’s interface to Unreal Engine® and visualize driving scenarios
- Set up a driving simulator with pedals and a steering wheel to perform driver-in-the loop testing

Key benefits:
- Start with library blocks and pre-built reference applications out-of-the-box
- Save time and money by replacing in-vehicle testing with virtual vehicle simulators
- Customize your vehicle model and easily interface with your Simulink controls
- Efficiently iterate and test edge scenarios, in a repeatable, reproducible and safe environment
- Rapidly deploy your models on real-time hardware without leaving MATLAB® and Simulink

The download button will let you access files compatible with the latest MATLAB release (R2021a).
Use these hyperlinks to access versions from earlier releases:

For R2021a: Click on "Download" button at the top of the page.
For R2020b:
For R2020a:
For R2019b:

Cite As

Real-Time Driver-in-the-Loop Reference Application,, MATLAB Central FileExchange

Comments and Ratings (10)

Stefanie Schwarz

文莉 董

Foss Guru


Pablo Romero

Timo Strässle

Daniel Fonte

Certainly a 5-start submission for users looking to frontload the test and validation of early Simulink-based controls and perception, or even final embedded controllers, with real-time virtual vehicle with driver-in-the-loop and I/O connectivity (CAN, CAN FD, RT UDP and many other).

Christoph Hahn

Daniel Hediger

Nathan Gyger

MATLAB Release Compatibility
Created with R2021a
Compatible with R2019b to R2021a
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!