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!