Documentation

Export a Robot CAD Assembly Model

This example guides you through the export procedure for a CAD assembly with name sm_robot.xml. The assembly models an industrial robot arm that contains a grip subassembly.

CAD Files

Your Simscape™ Multibody™ Link installation includes CAD assemblies that you can open and export. You can find the CAD files in the following folder:

matlabroot\toolbox\physmod\smlink\smlinkdemos\<CAD platform>\robot,
replacing <CAD platform> with inventor, proe, or solidworks. The matlabroot portion of the path refers to your MATLAB® root folder—for example, c:\program files\MATLAB\R2015a. You can see your MATLAB root folder by entering matlabroot at the MATLAB command prompt.

Platform-Specific Steps

The procedure in this example is general and applicable to all supported CAD platforms. For platform-specific steps, click the appropriate link in the following table.

CAD Export Steps

Complete the following steps to export the robot CAD assembly in a format compatible with the latest Simscape Multibody technology. The procedure generates one Simscape Multibody Import XML file and a set of geometry files in STEP or STL format. Import the files into Simscape Multibody to generate a model that replicates the CAD assembly.

  1. In a supported CAD platform, open assembly file sm_robot.

  2. On the CAD menu bar, click Simscape Multibody Link.

  3. Select Export into Simscape Multibody to export in a format compatible with the latest Simscape Multibody technology.

  4. In the Save As dialog box, enter the export file name and click OK.

Was this topic helpful?