Importing simscape xml file
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Helle everyone,
For a university project I have to import a xml file to load the project. We use this command:
smimport('DeltaRobot360_Asly_v2021.xml')
Now I get the following error message:
Error using smimport_implementation
'"C:\Program Files\MATLAB\R2024b\bin\win64\mwdot" -Kdot -Tplain
C:\Users\denbo\AppData\Local\Temp\tpe9f78ce9_a532_4b2d_8e87_96b08e5857f1.dot -o
C:\Users\denbo\AppData\Local\Temp\tpe9f78ce9_a532_4b2d_8e87_96b08e5857f1.plain' is an invalid option
Error in smimport (line 173)
smimport_implementation(multibodyDescription, varargin{:});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I have looked on the internet and asked AI some questions about it but I cannot really find an answer. Help is much appreciated.
Thanks in advance,
Arne
0 Commenti
Risposte (1)
Divyajyoti Nayak
il 2 Giu 2025
Modificato: Divyajyoti Nayak
il 2 Giu 2025
This seems like an issue withe xml file itself, but can't say for sure without the file. For the 'smimport' function to be able to import an xml file, the file must follow the 'Simscape Multibody XML Schema' as given in the documentation for the 'smimport' function.
'Simscape Multibody XML Schema': https://www.mathworks.com/products/simscape-multibody/download_smxmlschema.html
The 'Simscape Multibody Link' plug-in can be used to convert CAD models into xml files:
Use the plug in to convert CAD model into a xml file that can be used by the 'smimport' function.
Hope this helps
0 Commenti
Vedere anche
Categorie
Scopri di più su Model Import in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!