Reset a counter in a conditional subsystem

조회 수: 3 (최근 30일)
Thomas Marullo
Thomas Marullo 2014년 7월 8일
답변: Thomas Marullo 2014년 7월 8일
I want to conditionally start and stop a counter however when the counter is enabled again, I want it to reset. Is this possible in Simulink with an enabled subsystem? I'm not able to figure it out.

채택된 답변

Thomas Marullo
Thomas Marullo 2014년 7월 8일
Nevermind, I figured out that I need to change the enabled state from 'held' to 'reset' inside the Enabled Subsystem with the counter object.

추가 답변 (0개)

카테고리

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