필터 지우기
필터 지우기

Detect if block is part of a feedback loop

조회 수: 4 (최근 30일)
Vince
Vince 2020년 6월 30일
답변: Shivam Lahoti 2024년 6월 24일 7:41
Is there a smart and maybe even simple way to detect if a given block is part of a feedback loop? I'm trying to implement a check for MAB-Guideline db_0141 which specifies that feedback loops are excempt from the signal flow direction. However I find it very hard to determine if a block which doesn't follow the signal flow direction might be part of a feedback loop.

답변 (1개)

Shivam Lahoti
Shivam Lahoti 2024년 6월 24일 7:41
Hi Vince,
I understand that it can sometimes be confusing to follow the flow of a model, especially when dealing with large and complex models. Manually ensuring that any block not following the flow is part of a feedback loop can indeed be challenging.
To address this, you can use the Model Advisor check itself. Once you have completed the modeling part and want to increase the readability of the model, you can run this check and click on the specific warnings it generates. This will highlight the blocks causing the violations. You can then ensure that the particular block is following the flow, resolving the warning.
Instead of manually detecting the violations, you can leverage the above-mentioned method. I hope this makes your work easier.
Regards,
Shivam.

카테고리

Help CenterFile Exchange에서 Discontinuities에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by