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?

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 14 Mai 2013

0 Stimmen

You can use clock block

6 Kommentare

Uugan
Uugan am 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 am 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 am 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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange

Produkte

Tags

Gefragt:

am 14 Mai 2013

Community Treasure Hunt

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

Start Hunting!

Translated by