MATLAB: How to link the SolidWorks product to SimMechanics 3.2 (R2010a)

Simscape Multibodysolidworks

I am having an issue in linking SolidWorks to MATLAB. I download the 'install_addon.m' file. However, I receive an error when I execute the following command:
install_addon('smlink.r2010a.win.32.zip')
??? Undefined function or method 'install_addon' for
input arguments of type 'char'.

Best Answer

In order to execute the 'install_addon' for the SolidWorks product, make sure that the following files are in the MATLAB current working directory. The two files are:
install_addon.m
smlink.r2010a.win.32.zip
Related Question