Is there anyway I can import a SolidWorks Assembly into Simulink and then make changes in SolidWorks appear in Simulink?

2 views (last 30 days)
Is there anyway I can import a SolidWorks Assembly into Simulink and then make changes in SolidWorks appear in Simulink?
Currently, when I import and then make a change in SolidWorks (e.g. change a component weight) it doesn't automatically translate into the Simulink/SimScape model.
Is there anyway to do this? Similar to if you were to make a change in the SolidWorks Part and then see the changes in the Assembly. aka without having to create a new .xml file?

Accepted Answer

Yifeng Tang
Yifeng Tang on 23 Jun 2021
It won't be "automatic", and it depends on what you have changed in SolidWorks.
It's easy to replace a solid part in Multibody: you just export a new STEP file and put the name in the right file solid block. So if you change the geometry of a part, you can try this.
If you change the material of a part, you can also manually change the density value in the file solid block.
It's much more difficult if you have changed the location, orientation, or types of the joints/mates. You can still manually change the tranform blocks and joints, but I'd guess it's not as easy.
  1 Comment
Mark Sears
Mark Sears on 24 Jun 2021
Okay, some parts I might be able to in Multibody.
But I will be changing some locations and this might be where the difficiulty arises.
Thank you!

Sign in to comment.

More Answers (0)

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!