"Maximum recursion limit of 500 reached." when loading model in Simulink

8 次查看(过去 30 天)
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:

采纳的回答

chicken vector
chicken vector 2023-4-26
set(0,'RecursionLimit',1000);
  2 个评论
Glenn
Glenn 2023-4-26
Thanks. I've no idea what happened to the rest of my post, or why it would complain about a recursion limit, but increasing it does seem to have fixed the problem.
chicken vector
chicken vector 2023-4-26
When you use a recursive function, the default Matlab limit is set to 500 but you can change it.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Subsystems 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by