solidworks wont create simmechanics link even it is available on addIns?

2 views (last 30 days)
hello , i want to export a solidwork model from solidworks to matlab. i followed the instructions by going to options>>Add-in and checked the Simmechanics box on AddIns, but at save as option Simmechanics button does not appear. And even when i try to save the file as Simmechanics XML, the option is not there, please help.

Accepted Answer

Swarooph
Swarooph on 8 Jul 2016
SimMechanics Link works only for assemblies not parts. If you wanted to export individual parts like this one, save it as an STL or a STEP file and then import it manually in a body block. Documentation for body block here.
  5 Comments
Swarooph
Swarooph on 11 Jul 2016
Where are you looking for the option to convert your SolidWorks assembly into an XML file? Are you looking at File -> Save As or the dedicated SimMechanics Link menu? It should look like this.
IF you are NOT seeing this menu item in SolidWorks, execute the smlink_linksw command to link the 2 softwares. Refer to the documentation to see how to do this here .
P.S: You should tell me what you tried and what did not work instead of just saying it did not work. There is no information to go ahead with to help you. Please give us more information such as screenshots to help us understand. If its the same as the original question, at least tell us that.
sanjeev kumar
sanjeev kumar on 2 Aug 2016
Mr. Swarooph right now i am facing the import problem of 'simmechanics second generation' file in to my matlab worksapace. it shows error, however simmechanics first generation xml file is working. The problem which i have faced is attached below. Please give suggestion regarding this.

Sign in to comment.

More Answers (1)

Juan Manuel Arguello Espinosa
How conect simulink to solidworks

Categories

Find more on Simscape Multibody in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!