Triggered pulse generator with two inputs

조회 수: 5 (최근 30일)
Enes Sener
Enes Sener 2021년 5월 21일
답변: Gech worku 2022년 6월 6일
hello community,
I dont know if the title is accurate, but simply what i'm looking for is a System in Simulink where you have two pulse inputs a and b and whenever a gives a true(1) pulse, the output is 1 and whenever b gives a true pulse, the output is put back to zero.
I have been looking for hours but couldnt find a solution, probably because i dont know how to phrase it correctly.
Thanks
  댓글 수: 2
Atsushi Ueno
Atsushi Ueno 2021년 5월 21일
It sounds like S-R flip flop logic. Flip-flop (electronics) - Wikipedia
What kind of system do you need? MATLAB code? Simulink block? or other logic working with toolboxes?
Enes Sener
Enes Sener 2021년 5월 21일
i need a simulink block, but thats exactly what i was looking for, thanks :)

댓글을 달려면 로그인하십시오.

답변 (2개)

Arthi Sathyamurthi
Arthi Sathyamurthi 2021년 5월 24일
With the few possibilities of A and B mentioned, the logic looks like SR flip flops. Incase your logic matches with SR Flip Flops or any other flip flops, use the Simulink blocks of the same in Simulink Extras / Flip Flops/ S-R Flip-Flop. Incase your logic goes in hand with any logical operator block, use the Simulink block Logical Operator in the Simulink / Logic and Bit Operation / Logical Operator.

Gech worku
Gech worku 2022년 6월 6일
and with s r flip flops

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by