Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

RecursionLimit reached without applying recursion calls.

2 vues (au cours des 30 derniers jours)
Miroslav Balda
Miroslav Balda le 5 Déc 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
I have got the message that the recurence limit is reached, when I wanted to run big program I am just debugging. There was also a recommendation to increase N that was preset to 500. This message repeated immedialelly even after new start of MATLAB.
I do not use recurence wilingly, nevertheless, I may not state that it does not happen by mistake. Interesting is, that MATLAB does not announce place, where it has happened during the program run. Any clear does not help as well as MATLAB restart. Is there a way how to delete a stack content that blocks new run?
Thanls for any help.
Mira

Réponses (1)

Robert Cumming
Robert Cumming le 5 Déc 2014
Type in Matlab
le = lasterror
That will give you information on (unsurprisingly) the last error - this should contain information (in le.stack) about where th recursion is happening.

Cette question est clôturée.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by