How can I select a default folder?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ricardo Boza Villar
am 6 Mär. 2015
Kommentiert: Ricardo Boza Villar
am 7 Mär. 2015
I have a problem with selecting the default folder that MATLAB displays on the left when I open it. I would like to change it for another of my choice but every time I run the program it always shows the same one. It's quite annoying because I open MATLAB quite often and I don't want to be looking for the same folder on and on and on forever. I've tried with "set path" but it doesn't work. I have to many folders on "my path" by default and if I want to delete them I have to do it one by one.
Is there a way to solve this?
0 Kommentare
Akzeptierte Antwort
James Tursa
am 6 Mär. 2015
Create a file called startup.m in the folder that MATLAB starts in and add anything you want in it for startup commands. E.g., add a cd('your desired starting folder') line.
0 Kommentare
Weitere Antworten (1)
Adam
am 6 Mär. 2015
I just change the 'Start in' directory in the properties for Matlab for the shortcut I use to open it.
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!