Borrar filtros
Borrar filtros

Detect if block is part of a feedback loop

3 visualizaciones (últimos 30 días)
Vince
Vince el 30 de Jun. de 2020
Respondida: Shivam Lahoti el 24 de Jun. de 2024
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.

Respuestas (1)

Shivam Lahoti
Shivam Lahoti el 24 de Jun. de 2024
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.

Categorías

Más información sobre Discontinuities en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by