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

조회 수: 8 (최근 30일)
MATTEO NICCOLINI
MATTEO NICCOLINI 2023년 10월 16일
답변: Sanjana 2023년 10월 27일
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