How can control enable sybsytem ?

Hi, In my attached deign the trigger subsystem always in trigger position. I want when the pulse block generates two output [y1,y2] then it should enable and at the end of sampler it should reset the enabler subsystem at 0 by keeping output of AND gate at 0. it means whenever [y1,y2] produce outputs then trigger should work otherwise trigger should be at 0 or AND gate out should be at 0. by default [y1,y2] always generates 1 but after 1 step it does not go inside of sampler block the reason is trigger is not reset. how can I do this logic between AND logic gate and the sample ? Please help in this regard. Thanks in advance.

Answers (0)

Asked:

on 6 Nov 2018

Edited:

on 6 Nov 2018

Community Treasure Hunt

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

Start Hunting!