setpath / Set Path

10 次查看(过去 30 天)
Pedro Pantalone
Pedro Pantalone 2016-12-15
评论: José-Luis 2016-12-16
Hi,
I have the same issue on Windows & macOS. The Problem is that the toolbox contains a function that is native in MATLAB and thus I want the custom function to execute first.
The issue occurs with a toolbox that I installed that I wanted to move on top of the set path list. This is manually moved to the top: https://i.imgur.com/LMjejkR.png <http://i.imgur.com/LMjejkR.png>
Save and Close. Exit. Restart Matlab. Right at the bottom: https://i.imgur.com/7lsdo4Y.png
What is the matter with that?
thx.
  4 个评论
dbmn
dbmn 2016-12-16
1) A common problem on company computers is that pathdef.m is set to read only (so your changes did nothing).
Could you check by adding another path, if you can effectively change pathdef.m?
2) Have you tried using the command line based addpath / savepath functions?
Do you get the same results with addpath?
José-Luis
José-Luis 2016-12-16
A workaround is to explicitly call what you want:

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Search Path 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by