MATLAB can't save changes to pathdef

3 vues (au cours des 30 derniers jours)
Deepa Gupta
Deepa Gupta le 25 Jan 2018
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 commentaires
An Nguyen
An Nguyen le 4 Nov 2018
I'm also having the same problem, can anyone help?
Evangelia Athanasiou
Evangelia Athanasiou le 2 Avr 2022
Same problem here also! Have you found the solution on that?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by