How to get amount simulation time on simulink?

There are some logical operations on simulink. How to get amount simulation time? What kind of configurations need to do?

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 14 Mai 2013

0 votes

You can use clock block

6 commentaires

Uugan
Uugan le 14 Mai 2013
but clock shows only Simulation time -> stop time. That means if stop time = 10.0 then clock = 10;
Connect your clock block to "to workspace" block
Uugan
Uugan le 14 Mai 2013
nothing changes... I think here need some configurations(ctrl+E).
What is not changing? What do you want to get?
Uugan
Uugan le 14 Mai 2013
Clock shows stop time. I want to get T=0.000... value from statusbar on simulink.
No, clock block shows all the time for each step in simulation

Connectez-vous pour commenter.

Produits

Tags

Question posée :

le 14 Mai 2013

Community Treasure Hunt

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

Start Hunting!

Translated by