out of memory and unable to save pathdef.m

1 回表示 (過去 30 日間)
Andreia Pereira
Andreia Pereira 2019 年 5 月 18 日
回答済み: Andreia Pereira 2019 年 5 月 21 日
Hi all,
I've reinstalled Matlab2017b and now I'm running into problems that I never had before.
  1. when I try to save pathdef.m using the GUI I always get a messsage saying I don't have write access to save in the selected folder (screenshot attached). The problem is that this happens in any folder I try (even in an external disk). When I try to save via command line this gets me to the other problem that I'm getting:
  2. When trying to open/run scripts I get this error:
Out of memory. The likely cause is an infinite recursion within the program.
Error in fileparts (line 37)
elseif ~isrow(file)
This happens even if I try to load a script from my current folder by double clicking.
I've never had these issues before.
Any feedback would be very much appreciated!
Andreia

採用された回答

Walter Roberson
Walter Roberson 2019 年 5 月 18 日
It sounds as if you accidentally introduced a third party isrow.m
Give the commands
restoredefaultpath
rehash toolboxcache
savepath

その他の回答 (1 件)

Andreia Pereira
Andreia Pereira 2019 年 5 月 21 日
Hi Walter,
Thank you so much for you reply. It worked!
Best wishes,
Andreia

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by