Add a toolbox

조회 수: 90 (최근 30일)
abeer
abeer 2011년 11월 4일
편집: Wendy Fullam 2019년 12월 12일
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

답변 (3개)

Wendy Fullam
Wendy Fullam 2019년 12월 12일
편집: Wendy Fullam 2019년 12월 12일
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
Jan 2011년 11월 4일
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
abeer 2011년 11월 4일
thanks for your answer, Jan. well, I did. but the problem remains:
Warning: Unable to save path to file 'C:\Program Files\MATLAB\R2010a\toolbox\local\pathdef.m'. > In savepath at 162
and as far as I understood from that line is that it is unreadable. I can not understand this is my personal labtop and I am the administrator. what do I miss?
I will repost "out of memory" problem in another thread thanks
  댓글 수: 6
Kaustubha Govind
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.
K E
K E 2016년 6월 6일
As you say, I am running Matlab as Administrator and still can't save my path on R2015a, despite suggestion #1 here. What is the workaround?

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

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by