Add a toolbox
이전 댓글 표시
I need to add 2 toolboxes to Matlab, when I use the "add path" function it adds itself naturally and I "save" the current paths but the problem is once I log off Matlab it restores to the paths before adding these two toolboxes !!
Meanwhile if I said I will add them each time, I have no problem with that but it returns a message calling "out of memory" when trying to use the "sift" command.
I appreciate if you can help me. Thank you
답변 (4개)
Wendy Fullam
2019년 12월 12일
편집: Wendy Fullam
2019년 12월 12일
2 개 추천
If you are using MATLAB R2016a or later, you can do this without leaving MATLAB.
Whether you need additional toolboxes, apps, hardware support packages, or community submissions, you can easily browse and find what you’re looking for using the Add-On Explorer. Learn more here.
Add-ons extend the capabilities of MATLAB. Find add-ons for your task, no matter what you’re working on.

Jan
2011년 11월 4일
0 개 추천
Use addpath at first to add the folders to the path. Then save the path by savepath - no spaces in the command.
The out-of-memory message is another problem. Please post it in a new thread inlcuding the complete line, which causes this error.
abeer
2011년 11월 4일
0 개 추천
댓글 수: 6
Walter Roberson
2011년 11월 4일
Do you log in as administrator, though?
abeer
2011년 11월 5일
Daniel Shub
2011년 11월 5일
Thats odd. Can you open pathdef.m with notepad? Can you save it with another name, delete the original and then rename the copy?
Jan
2011년 11월 5일
If you work with Matlab as a single user on your local machine, the folder "C:\Program Files\MATLAB\R2010a\toolbox\local\" should be writable by the user. Please test:
which pathdef
fileattrib(which('pathdef.m'))
fileattrib(fileparts(which('pathdef.m')))
Kaustubha Govind
2011년 11월 7일
You may also need to run MATLAB "as administrator". I've found that even if you're logged in as admin, Windows UAC doesn't let applications write to the "Program Files" area.
Brenna
2024년 7월 2일
0 개 추천
whatever version of matlab you have, make sure it is called that when you direct to it (i.e. MATLAB_R2023a) and then put .app after whatever you call it is!
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!