Saving my path for future sessions.
Ältere Kommentare anzeigen
I want to save my created path for future Matlab sessions
Antworten (1)
John D'Errico
vor etwa 4 Stunden
Bearbeitet: John D'Errico
vor etwa eine Stunde
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
Kategorien
Mehr zu Search Path finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!