setpath / Set Path

13 visualizzazioni (ultimi 30 giorni)
Pedro Pantalone
Pedro Pantalone il 15 Dic 2016
Commentato: José-Luis il 16 Dic 2016
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 Commenti
dbmn
dbmn il 16 Dic 2016
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 il 16 Dic 2016
A workaround is to explicitly call what you want:

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Search Path in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by