Resetting memories inside IF block when it is inside a Resettable Subsystem

4 visualizaciones (últimos 30 días)
Inside a Resettable Subsystem, there is IF block (see picture attached). When the subsystem is reset, state memories (such as Unit Delay) inside Subsystem A and B are not reset. Because A and B have their own action port (with held and reset option) related to IF block.
In the official documentation "A resettable subsystem enables you to reset the states of all blocks inside it", but in my example, A and B are not reset.
How I can reset blocks that are inside A and B in this case?

Respuesta aceptada

Hamza Bourbouh
Hamza Bourbouh el 15 de Abr. de 2018
The solution given by MathWorks support is not working in the case of Action Subsystems that are not activated on time of the reset.
Attached is my solution to that problem.

Más respuestas (1)

Hamza Bourbouh
Hamza Bourbouh el 14 de Abr. de 2018
Attached is a workaround solution from MathWorks team.

Categorías

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

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by