Question of automatically creating MATLAB folder

36 次查看(过去 30 天)
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!

采纳的回答

Ken Atwell
Ken Atwell 2014-10-17
编辑:Ken Atwell 2014-10-17
Try:
>> userpath /my/custom/location
Then restart MATLAB.
  5 个评论
MEHMET BAYIK
MEHMET BAYIK 2022-11-4
Thanks a lot. Just for reference, it still works on r2022a version on M1 processor via Rosetta 2.
Zaidan
Zaidan 2024-10-26,10:58
This still works like a charm on the R2024a Version on M3 Processor. Thank you so much!

请先登录,再进行评论。

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by