- Did you create the XML file using the SolidWorks Plugin for Simscape Multibody?
- mech_import() is for First Generation Technology, smimport() is for Second Generation technology. Try smimport('valve.xml').
- You need to pass the name of the XML file to the function as an input argument.
How to import a file with (*.xml) extension from Solidworks 2015 to Simulink 2013a
3 ビュー (過去 30 日間)
古いコメントを表示
I'm trying to import a model from Solidworks 2015 to Simulink of Matlab 2013a, I followed all the instructions from the mathwors site but the problem is that there is a problem when importing the (*.xml) file to Simulink and the error is shown in the figure below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156532/image.png)
0 件のコメント
回答 (1 件)
Steve Miller
2021 年 11 月 17 日
編集済み: Steve Miller
2021 年 11 月 17 日
There are a few potential problems with the MATLAB session shown above:
--Steve
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Applications についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!