Out of memory. The likely cause is an infinite recursion within the program.
3 views (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 1 Aug 2019
If you did not happen to do so, either quit matlab and reenter, or else
clear all
Accepted Answer
Guillaume
on 1 Aug 2019
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:
- The biosig plugin of eeglab
- The fieldtrip toolbox (whatever that is)
That latter one in particular caused exactly the error reported here.
2 Comments
More Answers (1)
Arhant Jain
on 29 Aug 2020
Inside the eeglab lab folder, just delete the folder associated with fieldtrip box. It will solve your problem.
0 Comments
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!