Triggered pulse generator with two inputs
Afficher commentaires plus anciens
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 commentaires
Atsushi Ueno
le 21 Mai 2021
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
le 21 Mai 2021
Réponses (2)
Arthi Sathyamurthi
le 24 Mai 2021
0 votes
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
le 6 Juin 2022
0 votes
and with s r flip flops
Catégories
En savoir plus sur Discontinuities dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!