필터 지우기
필터 지우기

Question of automatically creating MATLAB folder

조회 수: 19 (최근 30일)
Pengyu
Pengyu 2014년 10월 17일
댓글: MEHMET BAYIK 2022년 11월 4일
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.
  댓글 수: 4
Neil Spencer
Neil Spencer 2022년 1월 10일
Many thanks for this - still works for me in version R2021b in January 2022.
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.

댓글을 달려면 로그인하십시오.

추가 답변 (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