how to set pathdef preferance?
조회 수: 20 (최근 30일)
이전 댓글 표시
I have two pathdef files, one in c drive and other in local drive. I want to set first preference to pathdef.m in local drive. I have used startup.m but whenever I restart matlab , it is using pathdef.m from c drive.
댓글 수: 0
답변 (1개)
Bhuvnesh Singh
2018년 2월 26일
You can use savepath folderName/pathdef.m saves the current search path to pathdef.m located in the folder specified by folderName. If you do not specify folderName, then savepath saves pathdef.m in the current folder.
Follow the below link for information:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Search Path에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!