Why does increasing the recursion limit to a number such as 5000 or more cause MATLAB to crash before the limit is reached?
Show older comments
I use the command
set(0,'RecursionLimit', 5000)
to increase the recursion limit from 500 (default) to 5000, but when my recursive algorithm runs, it crashes MATLAB.
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Coder 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!