setpath / Set Path

5 visualizaciones (últimos 30 días)
Pedro Pantalone
Pedro Pantalone el 15 de Dic. de 2016
Comentada: José-Luis el 16 de Dic. de 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 comentarios
dbmn
dbmn el 16 de Dic. de 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 el 16 de Dic. de 2016
A workaround is to explicitly call what you want:

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by