issues with "set path"
조회 수: 26 (최근 30일)
이전 댓글 표시
I'm running OSX 10.7.5 and using Matlab 2011A (Student Version) and have recently encountered a small problem. When I update my path file (file >> setpath >> add some new directory and then save changes), any changes I made are gone the next time I open the Matlab application. Interestingly, the directories and subdirectories I had added to my path months ago are still there.
Any thoughts on why this might be happening? Fixes?
Thanks in advance.
댓글 수: 0
답변 (1개)
Image Analyst
2013년 7월 28일
Try calling savepath() after you call setpath().
댓글 수: 2
Image Analyst
2013년 7월 28일
Editing your startup.m file to set the path each time would be more preferred I believe.
참고 항목
카테고리
Help Center 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!