如何修改 MATLAB 启动时的工作路径?
132 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 13 de Dic. de 2019
Respondida: MathWorks Support Team
el 13 de Dic. de 2019
如何修改 MATLAB 启动时的工作路径?
Respuesta aceptada
MathWorks Support Team
el 14 de Dic. de 2019
至少有以下三种方法:
1.MATLAB 主页->预设->常规,右侧可以设置启动时的工作路径。
2.建立 startup.m 文件,在文件中写入命令:
>> cd C:\matlab_startup
并将文件放到 MATLAB 的搜索路径(path)下,一般会选择
MATLAB安装路径\toolbox\local
3.这个方法仅对 Windows 操作系统,且通过双击快捷方式启动 MATLAB有效。右键快捷方式,选择属性,并在 Start in 中设置启动时的工作路径。
需要注意的是,上述三种方法互有冲突,因此仅建议通过一种方式进行设置。
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!