Question of automatically creating MATLAB folder

29 visualizaciones (últimos 30 días)
Pengyu
Pengyu el 17 de Oct. de 2014
Comentada: Zaidan el 26 de Oct. de 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!

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (1)

Stefan Baginski
Stefan Baginski el 29 de Jul. de 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

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by