MATLAB can't save changes to pathdef

조회 수: 1 (최근 30일)
Deepa Gupta
Deepa Gupta 2018년 1월 25일
댓글: Evangelia Athanasiou 2022년 4월 2일
I tried adding my third party toolboxes by changing pathdef.m as well as by using the GUI pathtool that we get from home ribbon>set path button. But it won't let me save changes to pathdef (error screenshot attached).
I tried to troubleshoot and then I re-installed MATLAB 2017b on my windows 10 and am still facing this issue. This problem has been reported back in 2014 here also: https://www.mathworks.com/matlabcentral/answers/127175-why-is-it-sometimes-impossible-to-save-the-pathdef-in-2014a#comment_212000
I tried saving pathdef in a different location but the same error pops up again. Personally, I'd prefer editing pathdef.m file myself rather than going into the pathdef GUI tool because that gives me more control over defining the priority of my toolboxes in case there are some similar library-files, and also because it lets me chose the specific sub-folders I want rather than having to tediously select each of them one by one in the pathtool GUI along needing to scroll up and down in the small window to define the order. But since nothing is working here, any solution would be greatly appreciated.
Extra note: My pathdef.m is not read-only and I am running my matlab as an administrator.
Thanks in advance for your help.
  댓글 수: 2
An Nguyen
An Nguyen 2018년 11월 4일
I'm also having the same problem, can anyone help?
Evangelia Athanasiou
Evangelia Athanasiou 2022년 4월 2일
Same problem here also! Have you found the solution on that?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by