Why do I get an error regarding "install_addon" when I try to install the Simscape Multibody Link plugin?

18 次查看(过去 30 天)
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')
But I encounter the error:
ERROR: ??? Undefined function or method 'install_addon' for
input arguments of type 'char'.
or:
ERROR: Unrecognized function or variable 'install_addon'

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2022-3-5
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 (or similar)
Refer to the following answer for more information:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

尚未输入任何标签。

产品


版本

R2010a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by