Simmechanics load solidworks assembly error
이전 댓글 표시
Hi,
I'm trying to open a assembly from solidworks into simmechanics. Everything goes well until I try to open my xml file with the command
mech_import('smTotal.xml').
I always get next error.
Error using PMImport.ModelReader
"XML Read error" while attempting to read file "smTotal.xml".
Error in PMImport.ModelUpdater
Error in PMImport.pmiu_import
Error in mech_import (line 97)
PMImport.pmiu_import(varargin{:});
Does anybody know how I could solve this? or what the problem is?
댓글 수: 3
Muhammad Khird Added
2019년 7월 24일
i am having same problem, can soemeone help us out with this
sakthinathan s
2019년 10월 1일
hello sir,
Try using the command smimport(' .xml') for importing the .xml files
Huynh Huan
2021년 10월 2일
Thank you very much, it's working
채택된 답변
추가 답변 (3개)
Omar Crypps
2016년 10월 2일
0 개 추천
Hi, I designed a model of 1 degree of freedom on Solidworks and i followed all the steps to export it to the Simulink of Matlab. However, there is always an error that appears after exporting it on Simlink.
Unfortuntely, I can't add a screen shot here but the error tells me " Constraint is not supported , the constraint has been exported as unknown constraint .

Diego Leonardo Velásquez Gómez
2018년 1월 25일
0 개 추천
Hello, I have the same problem as Omar Cryps, I've been using the smimport() function but it doesn't work, so please, somebody help me
samet türkay
2019년 4월 15일
0 개 추천
eyvallah steve gardaş
카테고리
도움말 센터 및 File Exchange에서 Model Import에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!