Effacer les filtres
Effacer les filtres

How to hold output value as 'zero' once it is 'zero'?

2 vues (au cours des 30 derniers jours)
Chintan Varia
Chintan Varia le 4 Juin 2017
Commenté : Chintan Varia le 5 Juin 2017
Hi everyone. I get two outputs from a matlab function which are '1' and '0'. These outputs are depended on the previous parameters which I have defined in my system. Thus, these output values may be changed accordingly. The initial output is '1'. Now, I want to hold my output only as '0' once the output is '0'. What should be the code for that?
Thanks in advance.! Regards.

Réponses (1)

Walter Roberson
Walter Roberson le 4 Juin 2017

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by