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.
Required CAD files are present in your SimMechanics™ Link installation. You can access the files in the following directory:
matlabrootis the directory of your MATLAB® installation (for example,
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.
|For CAD platform...||...click here|
|Autodesk Inventor®||Export Robot Assembly from Autodesk Inventor Software|
|Export Robot Assembly from Creo Software|
|SolidWorks®||Export Robot Assembly from SolidWorks Software|
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 STL geometry files. Import the files into SimMechanics to generate a model that replicates the CAD assembly.
In a supported CAD platform, open assembly file
On the CAD menu bar, click SimMechanics Link.
Select Export into SimMechanics First Generation or Export into SimMechanics Second Generation.
In the Save As dialog box, enter the export file name and click OK.