Install and Register SimMechanics Link Software

Before You Begin

You must have a valid MATLAB® license and one of the supported CAD applications:

  • Autodesk Inventor® software

  • PTC® Creo™ software

  • SolidWorks® software

Your MATLAB and CAD installations must have the same system architecture—e.g., Windows 64-bit.

Step 1: Get Installation Files

  1. Go to the SimMechanics Link download page.

  2. Follow the prompts on the download page.

  3. Save the zip archive and .m file in a convenient folder.

    Select the file versions matching your MATLAB release number and system architecture—e.g., release R2015b and Win64 architecture. Do not extract the zip archive.

Step 2: Run Installation Function

  1. Run MATLAB as administrator.

  2. Add the saved installation files to the MATLAB path.

    You can do this by entering addpath('foldername') at the MATLAB command prompt. Replace foldername with the name of the folder in which you saved the installation files—e.g., C:\Temp.

  3. At the MATLAB command prompt, enter install_addon('zipname').

    Replace zipname with the name of the zip archive—e.g.,

Step 3: Register MATLAB as Automation Server

Each time you export a CAD assembly, the SimMechanics™ Link plug-in attempts to connect to MATLAB. For the connection to occur, you must register MATLAB as an automation server. You can do this in two ways:

  • In a MATLAB session running in administrator mode — At the command prompt, enter regmatlabserver.

  • In an MS-DOS window running in administrator mode — At the command prompt, enter matlab -regserver.

Step 4: Enable SimMechanics Link Plug-In

Before you can export an assembly, you must enable the SimMechanics Link plug-in on your CAD application. To do this, see:

Was this topic helpful?