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?

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 5월 14일

0 개 추천

You can use clock block

댓글 수: 6

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

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품

태그

질문:

2013년 5월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by