How to change the default working folder ?

조회 수: 3 (최근 30일)
ugor
ugor 2018년 5월 4일
답변: ugor 2018년 5월 4일
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일
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일
Thank you very much, it works. I just have to start MATLAB with
%bash
matlab -useStartupFolderPref
but a simple alias do the job.

카테고리

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