MATLAB Answers

I am having problems with the install_addon.m

9 views (last 30 days)
Carlos Hernández
Carlos Hernández on 8 Apr 2021
Answered: Monisha Nalluru on 12 Apr 2021
I am trying to enable the Simscape Multibody Link SolidWorks Plug-in. But when I am trying to install the addon using the install_addon.m file in the MATLAB Command Prompt, it says that it does not recognize the function. I have both the zip and the m file in the same folder and the path is directed to that folder.
>> install_addon('smlink.r2020b.win64.zip')
Unrecognized function or variable 'install_addon'.

Answers (1)

Monisha Nalluru
Monisha Nalluru on 12 Apr 2021
The reason for above error: Unrecognized function or variable 'install_addon' is install_addon.m is not present in the path of MATLAB.
The files need to be in MATLAB path. If not, add the files to path it using addpath and savepath functions.

Community Treasure Hunt

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

Start Hunting!