How to hold True value infinite
Afficher commentaires plus anciens
I have a variable that will be false, true, then false. I want to home onto the true value on a second variable until the end of the simulation. For example the window is clean, until I touch it. I have a Boolean variable if I’m touching the glass. But I want to capture the window and it’s now forever smudge.
Réponses (1)
Fangjun Jiang
le 16 Juil 2020
0 votes
Connect this signal to the "S" (set) of a S-R Flip-Flop block.
Catégories
En savoir plus sur Simulink dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!