How to change the default working folder ?

I'm running matlab R2017a on Debian 9, every time I start MATLAB it creates the ~/Documents/MATLAB folder and assumes that it is the main working folder. I would like the default folder to be ~/Documents/prog/matlab, how should I do that ?
Thank you !

 채택된 답변

Ameer Hamza
Ameer Hamza 2018년 5월 4일

0 개 추천

Open MATLAB preferences: Click on the top bar or type preferences in a command window. Go to General > Initial working folder. Specify the required folder you want to have at MATLAB startup.

추가 답변 (1개)

ugor
ugor 2018년 5월 4일

0 개 추천

Thank you very much, it works. I just have to start MATLAB with
%bash
matlab -useStartupFolderPref
but a simple alias do the job.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

질문:

2018년 5월 4일

답변:

2018년 5월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by