Export a CAD Assembly Model

Before You Begin

The Simscape™ Multibody™ Link plug-in must be installed on your computing device and enabled on your CAD application. The plug-in is compatible with three CAD applications—Autodesk Inventor®, PTC® Creo™, and SolidWorks®.

CAD Export Menu

You can access the plug-in menu from the CAD application menu bar whenever a CAD assembly model is open. To access the menu:

  • In Autodesk Inventor software, select Add-Ins.

  • In PTC Creo software, select Tools > Simscape Multibody Link.

  • In SolidWorks software, select Simscape Multibody Link.

Example Files

Simscape Multibody Link software provides CAD assembly models that you can use as CAD export examples. The CAD files are in different folders named


  • matlabroot is the root folder of your MATLAB® application, for example:

  • application is the name of your CAD application—inventor for Autodesk Inventor, proe for PTC Creo, and sw for SolidWorks.

  • modelFolder is the name of the folder that contains the example file sets.

    The robot folder provides the robotic arm example files. The stewart_platform folder provides the Stewart platform example files.

Suppose your MATLAB root folder is C:\Programs\MATLAB. You can open the robot CAD assembly model using SolidWorks software from this folder:


Export Model

  1. Open the CAD assembly model that you want to export.

  2. From the CAD export menu, select the option to export to Simscape Multibody software.

  3. Specify the XML multibody description file name and save in a convenient folder.

    The Simscape Multibody Link plug-in generates an XML multibody description file and a set of STEP or STL part geometry files.

After Export

You can import the XML multibody description file into a new Simscape Multibody model and parameter data file using the smimport function in its default mode. For more information, see Import a CAD Assembly Model.

You can regenerate the parameter data file for a previously imported model using the smimport function in dataFile mode. You specify this mode using the ImportMode Name,Value pair argument. For more information, see the smimport function reference page.

Was this topic helpful?