I am working on the example project. I have installed the addon according to the instruction. But, couldn't find the tire data. Can anyone help?
https://www.mathworks.com/help/vdynblks/ug/example-tire-data.html

 Accepted Answer

Cris LaPierre
Cris LaPierre on 4 Apr 2024

1 vote

5 Comments

It is not working and giving me this error.
When constructing an instance of class 'tireData', the constructor must preserve the class of the
returned object.
Error in tireModelPractice (line 7)
td = tireData(tydexstr);
Am I supposed to be in a specific directory? I believe it could find the file related to tire data.
Cris LaPierre
Cris LaPierre on 4 Apr 2024
Edited: Cris LaPierre on 4 Apr 2024
What version of MATLAB are you using? I used R2023b.
Try runing the example locally.
Click 'Copy Command' and then paste the code in your command window and press enter.
A live script containing the example will download and open, along with a folder containing the data. Run that live script.
Also, look into the tireData and tireModel functions and methods. For example, this code loads a tire model for the corresponding tire.
obj = tireModel.builtin("Light passenger car 205/60R15")
Thank you so much. The copy command option worked for me. Have a nice day.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!