如何在每次启动Matlab时将文件夹设置为“当前"文件夹? [英] How to set a folder as Current folder for every startup of Matlab?
本文介绍了如何在每次启动Matlab时将文件夹设置为“当前"文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将文件夹/Users/ALJI/MATLAB
设置为Matlab的默认当前文件夹.我的意思是在每次启动Matlab时都应指向该文件夹.是否有可能 ? Mac OS X上有办法吗?
I would like to set the folder /Users/ALJI/MATLAB
as a default current folder for Matlab. I mean on every start up Matlab should point to this folder. is it possible ? is there a way on Mac OS X ?
我在Mac OS X Snow Leopard
上使用Matlab r2009b
.
推荐答案
我终于找到了它.
您在/matlabrootfolder/toolbox/local
中编辑一个名为startup.m
的文件,然后添加cd /Users/ALJI/MATLAB
.
You edit a file named startup.m
in /matlabrootfolder/toolbox/local
and I add cd /Users/ALJI/MATLAB
.
它奏效了,希望对您有所帮助:)
It worked, hope this help :)
这篇关于如何在每次启动Matlab时将文件夹设置为“当前"文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文