Info

この質問は閉じられています。 編集または回答するには再度開いてください。

RecursionLimit reached without applying recursion calls.

1 回表示 (過去 30 日間)
Miroslav Balda
Miroslav Balda 2014 年 12 月 5 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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

回答 (1 件)

Robert Cumming
Robert Cumming 2014 年 12 月 5 日
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.

製品

Community Treasure Hunt

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

Start Hunting!

Translated by