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

 Respuesta aceptada

Cris LaPierre
Cris LaPierre el 4 de Abr. de 2024

1 voto

5 comentarios

Muhammad umer Khan
Muhammad umer Khan el 4 de Abr. de 2024
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 el 4 de Abr. de 2024
Editada: Cris LaPierre el 4 de Abr. de 2024
What version of MATLAB are you using? I used R2023b.
Cris LaPierre
Cris LaPierre el 4 de Abr. de 2024
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 el 4 de Abr. de 2024
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 el 5 de Abr. de 2024
Thank you so much. The copy command option worked for me. Have a nice day.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Wheels and Tires en Centro de ayuda y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by