|On this page…|
This example guides you through the export procedure for a CAD assembly with name stewart_platform.xml. The assembly models a Stewart platform commonly used in flight-simulator systems.
Required CAD files are present in your SimMechanics™ Link installation. You can access the files in the following directory:
String matlabroot is the directory of your matlab installation (for example, c:\program files\MATLAB\R2012b. String <cad_platform> is one of two CAD platforms that contain the Stewart Platform example:
To successfully complete the example, you must have:
Supported CAD platform
MATLAB® installation, registered as an automation server. See Register MATLAB as Automation Server.
SimMechanics Link installation, registered with the appropriate CAD platform.
|To link to...||See...|
|Creo (Pro/ENGINEER)||Register SimMechanics Link with Creo|
|SolidWorks||Register SimMechanics Link with SolidWorks|
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|
|Export Stewart Platform from Creo Software|
|SolidWorks||Export Stewart Platform 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 stewart_platform.
In 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 file name and click OK.