如何修改 MATLAB 启动时的工作路径?
179 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 13 Dic 2019
Risposto: MathWorks Support Team
il 13 Dic 2019
如何修改 MATLAB 启动时的工作路径?
Risposta accettata
MathWorks Support Team
il 14 Dic 2019
至少有以下三种方法:
1.MATLAB 主页->预设->常规,右侧可以设置启动时的工作路径。
2.建立 startup.m 文件,在文件中写入命令:
>> cd C:\matlab_startup
并将文件放到 MATLAB 的搜索路径(path)下,一般会选择
MATLAB安装路径\toolbox\local
3.这个方法仅对 Windows 操作系统,且通过双击快捷方式启动 MATLAB有效。右键快捷方式,选择属性,并在 Start in 中设置启动时的工作路径。
需要注意的是,上述三种方法互有冲突,因此仅建议通过一种方式进行设置。
0 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!