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에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!