Bug in simmechanics: dots and commas

1 回表示 (過去 30 日間)
Conrado Garcia
Conrado Garcia 2017 年 10 月 26 日
回答済み: BhaTTa 2024 年 10 月 23 日
Hi to everyone
Well, I am trying to make a simulation of a drone via Simmechanics. I have downloaded all the files and installated them properly. I have tried with a example from mathworks and it worked fine. The thing is that when I produce my .xml file from Inventor 2017 and I try to run with smimport(), I have a message of error:
bad lexical cast: source type value could not be interpreted as target
I have spend most of the day with this issue, finally it seems that the problem is that decimals are expressed with commas (,) not dots (.) and, as someone suggested in the forum, I should change all the commas by dots. Well, I have 5000 lines in my xml file and not enough patience nor time. Can someone help me with that? Any new release, any tip or trick?
Thank you so much (and sorry if my English is not as good as it should be)

回答 (1 件)

BhaTTa
BhaTTa 2024 年 10 月 23 日
Please refer to this answer.

カテゴリ

Help Center および File ExchangeWhos についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by