Saving my path for future sessions.
Mostrar comentarios más antiguos
I want to save my created path for future Matlab sessions
1 comentario
Stephen23
hace alrededor de 7 horas
Respuestas (1)
John D'Errico
hace alrededor de 4 horas
Editada: John D'Errico
hace 36 minutos
The trick here is to use the help, because it teaches you what to use, at least it gives you a hint at how to solve it. If you managed to create a path, then you would have read the help for a tool like addpath, or even pathtool. HAD you read the help for addpath, at the bottom of the help, you would see a see also line. It reads:
See also genpath, path, pathsep, rmpath, savepath
Next, you might look at the names of those functions, and wonder what savepath does. The name is, at least to me, one that indicates its purpose, i.e., it saves your path so that the next time you enter MATLAB the path will be what you created before. It will remember that path as you saved it.
So always remember to look at the see also line. It is there for a very good reason.
help addpath
help savepath
Categorías
Más información sobre Search Path en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!