Algebraic Loop Errors while using Model Reference

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.

回答 (1 件)

ag
ag 2025 年 5 月 1 日

0 投票

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!

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

質問済み:

2016 年 12 月 21 日

回答済み:

ag
2025 年 5 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by