Default location in matlab
1 次查看(过去 30 天)
显示 更早的评论
In R2014b right now when I bring up MatLab the default location is: "C:\Users\User\Documents\MATLAB"
I want to change it to:
"C:\Users\User\Documents\NewFolder\MATLAB"
So my default location is more manageable to me.
I have searched Preferences maybe I missed something.
0 个评论
回答(2 个)
Image Analyst
2015-9-10
To specify that MATLAB starts up with that folder as the "Current folder", put this into your startup.m file:
cd('C:\Users\User\Documents\NewFolder\MATLAB');
0 个评论
Star Strider
2015-9-10
I would do it in a slightly different order (as I have done on all my MATLAB installations). Create the folder first, then add it to the path and save it:
mkdir('C:\Users\User\Documents\MATLAB\NewFolder')
addpath('C:\Users\User\Documents\MATLAB\NewFolder')
savepath
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!