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

2 views (last 30 days)
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.

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.

Products


Release

R11.1

Community Treasure Hunt

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

Start Hunting!