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

 采纳的回答

Cris LaPierre
Cris LaPierre 2024-4-4

1 个投票

5 个评论

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

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Wheels and Tires 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by