필터 지우기
필터 지우기

Error of smimport xml file

조회 수: 1 (최근 30일)
Eleni.T
Eleni.T 2020년 7월 6일
답변: Steve Miller 2021년 6월 6일
Hello.
I have just started using Simscape multiboy and i tried to import an xml file from solidworks into matlab. I used the command smimport('Assem.xml')
However i got the following error:
smimport('Assem.xml')
Error: File: smimport.m Line: 170 Column: 1
Illegal use of reserved keyword "end".
What could possibly be the reason for this error?
Thank you

답변 (1개)

Steve Miller
Steve Miller 2021년 6월 6일
Hi Eleni,
I have never seen this error. I would guess the XML file is somehow corrupt or that you have two versions of the file on your path. If you can upload the .XML file to your post, we could look at it and narrow down the cause.
--Steve

카테고리

Help CenterFile Exchange에서 Simscape Multibody에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by