I am having problems with the install_addon.m

조회 수: 42 (최근 30일)
Carlos Hernández
Carlos Hernández 2021년 4월 8일
답변: Ayham Aljawabrah 2024년 9월 9일
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'.

답변 (3개)

Monisha Nalluru
Monisha Nalluru 2021년 4월 12일
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.
  댓글 수: 1
Andrew Sol
Andrew Sol 2024년 7월 29일
And I have both the archive in the folder and the installaddon.m file. And it still doesn't work, the same problem. I've already tried addpath, and so on, nothing helps.

댓글을 달려면 로그인하십시오.


Tuba
Tuba 2024년 7월 26일
After I added the zip file and installaddon in a folder to the Matlab path, instead of using install_addon function it suggested using installaddon instead. That's how it worked for me
  댓글 수: 1
Andrew Sol
Andrew Sol 2024년 7월 29일
And I have both the archive in the folder and the installaddon.m file. And it still doesn't work, the same problem. I've already tried addpath, and so on, nothing helps.

댓글을 달려면 로그인하십시오.


Ayham Aljawabrah
Ayham Aljawabrah 2024년 9월 9일
When I downloaded the function, it has the name 'installaddon', not 'install_addon'. Make sure of the function name, and if it is the first one, modify ithe commond.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by