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 件のコメント

Muhammad umer Khan
Muhammad umer Khan 2024 年 4 月 4 日
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 2024 年 4 月 4 日
編集済み: Cris LaPierre 2024 年 4 月 4 日
What version of MATLAB are you using? I used R2023b.
Cris LaPierre
Cris LaPierre 2024 年 4 月 4 日
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.
Cris LaPierre
Cris LaPierre 2024 年 4 月 4 日
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")
Muhammad umer Khan
Muhammad umer Khan 2024 年 4 月 5 日
Thank you so much. The copy command option worked for me. Have a nice day.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeWheels and Tires についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by