"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