Algebraic Loop Errors while using Model Reference
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello everyone,
I am using Model Referencing concept to make a scalable model. My model involves stateflow blocks. While simulating I got this error,"'untitled/Control Room' updates persistent or state variables while computing outputs, therefore it cannot be used in an algebraic loop. However, it is in a loop with the following blocks. For more information, see Algebraic Loops with MATLAB Function and Stateflow Blocks."
Can anyone have a solution to resolve this kind of errors.
Thanks in advance.
댓글 수: 0
답변 (1개)
ag
2025년 5월 1일
Hi Jayasimha,
There is a similar discussion thread on the following MATLAB answers post, which can be of help: https://www.mathworks.com/matlabcentral/answers/85984-algebraic-loops-with-model-referencing?s_tid=answers_rc1-2_p2_MLT
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!