File Exchange

image thumbnail

MATLAB and Simulink Racing Lounge: Vehicle Modeling with Simscape Multibody

version (8.01 MB) by MathWorks Student Competitions Team
Simscape Multibody model for the Vehicle Modeling series


Updated 12 Oct 2017

View License

This model shows how to represent vehicle and suspension dynamics with Simscape Multibody. The entry supplements the MATLAB and Simulink Racing Lounge video "Vehicle Modeling, Part 4: Simscape Multibody"
The model offers a visualization of the system response. The Contact Forces Library is used to model
contact between the wheel and the floor. The focus here is system-level vehicle and suspension modeling.

Cite As

MathWorks Student Competitions Team (2021). MATLAB and Simulink Racing Lounge: Vehicle Modeling with Simscape Multibody (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (8)

Alex Daszek

Akshat Kasana

Thank you. But how do I load the edited mat file back into the model?

Veer Alakshendra

Hi Akshat,
To get these values, follow these steps. Model Explorer-> Vehicle Dynamics3D -> Model Workspace -> dwb -> Right Click -> Export Selected
Once you export the data, you can save it as a mat file. Please note that dwb is a structure.

Akshat Kasana

Thanks for the model. I looked into the model and had a few doubts. How do I change the parameters like dwb.knuckle.wheelattachprojwidth or wheel.tire.innerradius and other variable values. I am unable to find the main data file.

Mael Roux

Hi Dinesh, we recorded this video as basis for the files at hand:
Hope this helps. Feel welcome to ask further questions on MATLAB Answers forum and ping us the question-URL.
Best, Christoph

Dinesh tej

We are trying to understand the entire blockset, but input is still mystery, can you help?

Alexandr Buyval

Thank you for the model!
I wonder is there way to define current steer angle in this model?

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!