如何修改 MATLAB 启动时的工作路径?
126 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 13 Déc 2019
Réponse apportée : MathWorks Support Team
le 13 Déc 2019
如何修改 MATLAB 启动时的工作路径?
Réponse acceptée
MathWorks Support Team
le 14 Déc 2019
至少有以下三种方法:
1.MATLAB 主页->预设->常规,右侧可以设置启动时的工作路径。
2.建立 startup.m 文件,在文件中写入命令:
>> cd C:\matlab_startup
并将文件放到 MATLAB 的搜索路径(path)下,一般会选择
MATLAB安装路径\toolbox\local
3.这个方法仅对 Windows 操作系统,且通过双击快捷方式启动 MATLAB有效。右键快捷方式,选择属性,并在 Start in 中设置启动时的工作路径。
需要注意的是,上述三种方法互有冲突,因此仅建议通过一种方式进行设置。
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!