setpath / Set Path

조회 수: 5 (최근 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에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by