Error of smimport xml file

1 次查看(过去 30 天)
Eleni.T
Eleni.T 2020-7-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