Question of automatically creating MATLAB folder

Every time I open MATLAB, it creates a MATLAB folder automatically for me under ~/Documents/. Is there any way that to stop it doing this? I use Mac OS X 10.10 and I set default startup path to be a custom path. Thank you!

 Risposta accettata

Ken Atwell
Ken Atwell il 17 Ott 2014
Modificato: Ken Atwell il 17 Ott 2014
Try:
>> userpath /my/custom/location
Then restart MATLAB.

5 Commenti

Thank you!
The only answer, that worked for me. Thanks a lot!
Many thanks for this - still works for me in version R2021b in January 2022.
Thanks a lot. Just for reference, it still works on r2022a version on M1 processor via Rosetta 2.
This still works like a charm on the R2024a Version on M3 Processor. Thank you so much!

Accedi per commentare.

Più risposte (1)

Many thanks. This has helped me as well. Just for reference this is the command I have used to set it up:
userpath("/Users/Stefan/Library/Mobile Documents/com~apple~CloudDocs/MATLAB")
Afterwards the MATLAB folder in Documents is no ~/Documents/ is no longer created.
Best
Stefan

Categorie

Tag

Richiesto:

il 17 Ott 2014

Commentato:

il 26 Ott 2024

Community Treasure Hunt

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

Start Hunting!

Translated by