issues with "set path"

15 visualizaciones (últimos 30 días)
Richard
Richard el 28 de Jul. de 2013
I'm running OSX 10.7.5 and using Matlab 2011A (Student Version) and have recently encountered a small problem. When I update my path file (file >> setpath >> add some new directory and then save changes), any changes I made are gone the next time I open the Matlab application. Interestingly, the directories and subdirectories I had added to my path months ago are still there.
Any thoughts on why this might be happening? Fixes?
Thanks in advance.

Respuestas (1)

Image Analyst
Image Analyst el 28 de Jul. de 2013
Try calling savepath() after you call setpath().
  2 comentarios
Richard
Richard el 28 de Jul. de 2013
No dice. As a workaround, I tried manually editing my pathdef.m file and found that this works. So I'll stick with that for a while.
Image Analyst
Image Analyst el 28 de Jul. de 2013
Editing your startup.m file to set the path each time would be more preferred I believe.

Iniciar sesión para comentar.

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by