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 ExchangeStartup 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