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

조회 수: 4 (최근 30일)
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?

채택된 답변

Hamza Bourbouh
Hamza Bourbouh 2018년 4월 15일
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.

추가 답변 (1개)

Hamza Bourbouh
Hamza Bourbouh 2018년 4월 14일
Attached is a workaround solution from MathWorks team.

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by