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?

Answers (1)

You can use clock block

6 Comments

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
nothing changes... I think here need some configurations(ctrl+E).
What is not changing? What do you want to get?
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

Sign in to comment.

Products

Tags

Asked:

on 14 May 2013

Community Treasure Hunt

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

Start Hunting!