MATLAB can't save changes to pathdef

1 次查看(过去 30 天)
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
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