This file contains a hybrid-electric vehicle model built using SimElectronics and SimDriveline that can be configured to run in real time. Double-clicking on subsystems in the model will configure the model for desktop simulation (variable-step solver) and for real-time simulation (fixed-step, fixed-cost simulation). This model is designed for hardware-in-the-loop testing.
Please read the README.txt file to get started.
To watch a video demonstration of this model running on a real-time target, go to
To learn more about how these settings affect speed and accuracy of real-time simulations, please watch the webinar, “Real-Time Simulation of Physical Systems with Simscape“
To find other physical modeling examples, search for posts with the keyword "physical modeling"
To learn more about MathWorks Physical Modeling Products, go to: http://www.mathworks.com/physical-modeling/