File Exchange

image thumbnail

MATLAB and Simulink Racing Lounge: Vehicle Modeling with Simscape Multibody

Simscape Multibody model for the Vehicle Modeling series

51 Downloads

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.
Enjoy!

Cite As

MathWorks Student Competitions Team (2020). MATLAB and Simulink Racing Lounge: Vehicle Modeling with Simscape Multibody (https://www.mathworks.com/matlabcentral/fileexchange/64648-matlab-and-simulink-racing-lounge-vehicle-modeling-with-simscape-multibody), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (7)

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

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.

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: https://www.mathworks.com/videos/matlab-and-simulink-racing-lounge-vehicle-modeling-part-4-simscape-multibody-1508365817599.html.
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?

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

Updates

1.0.0.0

Updated cover image to model screenshot.

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