Why doesn't mech_import read my .xml files
Show older comments
Hello!
When I use the mech_import command I get and Import error message stating: "XML Read error" while attempting to read file "C:\<xml file location>".
I've tried to import multiple CAD assemblies with the same result.
What do you recommend?
Answers (1)
Steve Miller
on 10 Nov 2021
0 votes
The import command can only read XML files that were exported by the Simscape Multibody plugin for supported CAD systems. Make sure you obtained the XML from that source. You can also try reading in some of the XML files that are supplied with Simscape Multibody just to make sure your installation is OK.
--Steve
Categories
Find more on Model Import in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!