Detect if block is part of a feedback loop

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