Prevent MATLAB from adding \Documents\MATLAB to the top of the search path
조회 수: 2 (최근 30일)
이전 댓글 표시
I have my default current directory set to something other than the default "\Documents\MATLAB" by specifying the directory of my choice in the Windows shortcut used to load MATLAB - no problem. However, even though the directory is never used anymore, MATLAB insists on always adding "\Documents\MATLAB" to the top of the search path every time it starts. How to I prevent this? I'm using R2007b.
댓글 수: 0
답변 (1개)
Andrew Newell
2012년 1월 11일
Put
rmpath('\Documents\MATLAB')
in startup.m. You may need to use 'C:\Documents\MATLAB'; I don't have a Windows environment to test it on.
댓글 수: 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!