"Maximum recursion limit of 500 reached." when loading model in Simulink
13 views (last 30 days)
Show older comments
I have a subsystem reference that I have verified in a testbench, which works fine in the testbench.
When I add this subsystem to part of a (much) larger application, I am getting the following messages in the console when I try to load the model:
0 Comments
Accepted Answer
chicken vector
on 26 Apr 2023
set(0,'RecursionLimit',1000);
2 Comments
chicken vector
on 26 Apr 2023
When you use a recursive function, the default Matlab limit is set to 500 but you can change it.
More Answers (0)
See Also
Categories
Find more on Subsystems 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!