Export Robot CAD Assembly

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 SimMechanics 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 second-generation format. The procedure generates one SimMechanics™ Import XML file and a set of geometry files in STEP or STL format. Import the files into SimMechanics 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 SimMechanics Link.

  3. Select Export into SimMechanics First Generation or Export into SimMechanics Second Generation.

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

Was this topic helpful?