How to import a file with (*.xml) extension from Solidworks 2015 to Simulink 2013a

조회 수: 8 (최근 30일)
Omar Crypps
Omar Crypps 2016년 9월 21일
편집: Steve Miller 2021년 11월 17일
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.

답변 (1개)

Steve Miller
Steve Miller 2021년 11월 17일
편집: Steve Miller 2021년 11월 17일
There are a few potential problems with the MATLAB session shown above:
  1. Did you create the XML file using the SolidWorks Plugin for Simscape Multibody?
  2. mech_import() is for First Generation Technology, smimport() is for Second Generation technology. Try smimport('valve.xml').
  3. You need to pass the name of the XML file to the function as an input argument.
--Steve

카테고리

Help CenterFile Exchange에서 Simscape Multibody에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by