How can i get the real time counter as Variable ?

I want to change a Variable "Vref" in Simulink with the real time and i just want the real time as a variable to write the program in matlab.
Example : for t<1 Vref = 12, ... , for t>5 Vref = 0

1 commentaire

Is "t" the simulated time step, or is "t" the elapsed real-world clock time since you started running the program?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Question posée :

le 18 Déc 2015

Commenté :

le 18 Déc 2015

Community Treasure Hunt

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

Start Hunting!

Translated by