Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Editing values in datafile generated through xml file import

조회 수: 1 (최근 30일)
Ahmed Ansari
Ahmed Ansari 2018년 12월 4일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi
I imported an assembly from Solidworks into simulink through a .xml file and the revolute joints had default position target values referenced from the associated .m datafile.
When I change the values of these variables in the .m file, the position values do not change in the mechanics viewer diagram. However, when i remove the reference variable from the position target and reenter any numeric value, the diagram updates correctly.
I know that I can always change these values by changing positions in SW and creating a new simulink file (reimporting a new .xml file) but I'm sure there are other more convenient and straightforward ways to do this.
Any ideas what i may be doing wrong?
Thanks in advance

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by