Out of memory. The likely cause is an infinite recursion within the program.

2 ビュー (過去 30 日間)
Sonja Joshi
Sonja Joshi 2019 年 7 月 31 日
回答済み: Arhant Jain 2020 年 8 月 29 日
Hello,
I am receiving the following error message:
Out of memory. The likely cause is an infinite recursion within the program.
Error in fileparts (line 35)
elseif ~isrow(file)
I have already tried renaming as well as deleting the isrow.m fime in my eeglab folder with the Matlab folder. I have also tried removing the entire folder that contain the isrow.m file from the path but am still receiving the same error message.
*Thank you for any assistance*
  3 件のコメント
Walter Roberson
Walter Roberson 2019 年 8 月 1 日
If you did not happen to do so, either quit matlab and reenter, or else
clear all
Sonja Joshi
Sonja Joshi 2019 年 8 月 1 日
I was getting this error before deleting or renaming the isrow.m file and I was just trying to open eeglab when this error message opened. I have also tried using clear all and restarting up Matlab to no avail.
Any ideas?

サインインしてコメントする。

採用された回答

Guillaume
Guillaume 2019 年 8 月 1 日
You, or some code you've downloaded is shadowing the isrow.m function of matlab.
Hopefully, the isrow.m you've deleted is not the matlab one (otherwise, you'll have to reinstall matlab I'm afraid) but the shadowing one.
Two toolboxes that have been shown to shadow essential built-in matlab functions:
That latter one in particular caused exactly the error reported here.
  2 件のコメント
Sonja Joshi
Sonja Joshi 2019 年 8 月 1 日
Hello all,
Thank you so much for your input. We ended up installing the older 2018 version of eeglab and that somehow corrected the issue.
Thanks again!
Walter Roberson
Walter Roberson 2019 年 8 月 2 日
YARPIZ might also shadow some MATLAB functions, such as nchoosek.m

サインインしてコメントする。

その他の回答 (1 件)

Arhant Jain
Arhant Jain 2020 年 8 月 29 日
Inside the eeglab lab folder, just delete the folder associated with fieldtrip box. It will solve your problem.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by