read error of a .tir file with tireModel.import?

3 次查看(过去 30 天)
I am studying a tire model and I have to import a .tir file. In order to make this I use the function "tireModel.import". The function can find the file, but it can't open it. I have this type if error message:
Unrecognized field name "NONE".
Error in vdyntire.internal.io.readTIR
Error in tireModel.import
Error in modello_tir_matlab (line 20)
tm = tireModel.import('C16_CONTINENTAL_HOT.TIR');
I don't know if I made some error in writing the command or simply the .tir file, that I have, can't be open with this type of function. This is the command that I wrote:
tm = tireModel.import('C16_CONTINENTAL_HOT.TIR');
Thanks in advance.

回答(1 个)

Sanjana
Sanjana 2023-10-27
Hi Matteo,
I understand that you are facing an issue with importing a “.tir” file which contains the tire parameters for the tireModel. As per my understanding the “readTIR” function in Matlab, reads a Tire property file and stores the parameters in a “Structure Array”, and the error you are facing is due to the “.tir” file containing parameter values without a preceding section keyword, in other words it has empty section keywords. Since “readTIR” uses those keywords to create the “Structure Array”, you might be facing the above error. So, To solve the issue, verify that your “.tir” file doesn’t have empty section keywords.
Hope this helps!
Regards,
Sanjana

类别

Help CenterFile 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