Question of automatically creating MATLAB folder

10 vues (au cours des 30 derniers jours)
Pengyu
Pengyu le 17 Oct 2014
Commenté : Zaidan le 26 Oct 2024
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!

Réponse acceptée

Ken Atwell
Ken Atwell le 17 Oct 2014
Modifié(e) : Ken Atwell le 17 Oct 2014
Try:
>> userpath /my/custom/location
Then restart MATLAB.
  5 commentaires
MEHMET BAYIK
MEHMET BAYIK le 4 Nov 2022
Thanks a lot. Just for reference, it still works on r2022a version on M1 processor via Rosetta 2.
Zaidan
Zaidan le 26 Oct 2024
This still works like a charm on the R2024a Version on M3 Processor. Thank you so much!

Connectez-vous pour commenter.

Plus de réponses (1)

Stefan Baginski
Stefan Baginski le 29 Juil 2020
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

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by