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)
Show older comments
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?
0 Comments
Accepted Answer
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.
More Answers (0)
See Also
Categories
Find more on Bodies 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!