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?

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 14 de Mayo de 2013

0 votos

You can use clock block

6 comentarios

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

Iniciar sesión para comentar.

Productos

Etiquetas

Preguntada:

el 14 de Mayo de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by