Starting in R2014b, you can change the startup folder using the General Preferences panel. On the Home tab, in the Environment section, click Preferences. Select MATLAB > General. Choose an option for the Initial working folder.
By default, the initial working folder is set to Location based on MATLAB startup rules.
从 R2014b 开始,您可以使用“常规预设项”面板更改启动文件夹。在主页选项卡上,点击环境部分中的预设。选择 MATLAB > 常规。选择初始工作文件夹选项。
默认情况下,初始工作文件夹设置为基于 MATLAB 启动规则的位置。