Detect if block is part of a feedback loop
3 次查看(过去 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.
0 个评论
回答(1 个)
Shivam Lahoti
2024-6-24
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!