Saving my path for future sessions.
Afficher commentaires plus anciens
I want to save my created path for future Matlab sessions
Réponses (1)
John D'Errico
il y a environ 5 heures
Modifié(e) : John D'Errico
il y a environ une heure
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
Catégories
En savoir plus sur Search Path dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!