I have the 2024 version of solidworks and I want to import a cad assembly into matlab. How can I do this since the add in feature is no longer valid for newer solidworks

32 views (last 30 days)
Any help or links on how to do thisn would be greatly appreciated.

Answers (1)

Abhiram
Abhiram on 27 Mar 2025
To import a CAD Assembly from SolidWorks to MATLAB, you can use the “Simscape Multibody Link” plug-in on your SolidWorks installation to export the CAD Assemblies from SolidWorks in an XML format and use the “smimport” function to import the XML file into MATLAB.
For a detailed explanation, refer to the given thread for a similar question:
  1 Comment
Yoonjae
Yoonjae 15 minutes ago
Hi Abhiram - in the Simscape Multibody Link installation page it says that versions of Solidworks 2022 or higher are not supported. Is there a way to actually export assembly as XML files and import the assembly into MATLAB for Solidworks that is more recent than 2021? Most students that started after 2021 only have access to more recent Solidworks.

Sign in to comment.

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!