MATLAB Answers

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

4 views (last 30 days)
Lister Falleiro
Lister Falleiro on 5 May 2020
Answered: Kavya Vuriti on 5 Aug 2020
Hi,
I am using a function called reco_all that plots psd from moments. However, when I try to run the function, I keep getting the error 'Out of memory. The likely cause is an infinite recursion within the program.' I don't know how to troubleshoot this problem. Attached is the code I am using.

  0 Comments

Sign in to comment.

Answers (1)

Kavya Vuriti
Kavya Vuriti on 5 Aug 2020
Hi,
The error is due to the function calling itself in line number 42 of the attached code. From the given code, I understood that it has to be commented out.

  0 Comments

Sign in to comment.

Products


Release

R11.1

Community Treasure Hunt

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

Start Hunting!