how can I calculate the current simulation time

2 次查看(过去 30 天)
Hi there
I tried to understand what was in the picture but i cannot.
Therefore I try to ask if someone can explain me.
what was done here and what was used exactly.
LZ: it sould calculate the local time1.PNG
Formula:
LZ = s - 24.loor (s / 24)
S: simulation time = 8760 hours per year, corresponds to the number of
Hours a year
What is u? and why was used here.

回答(2 个)

Nikhil Sonavane
Nikhil Sonavane 2020-1-27
Can you explain the question in a more detailed manner and also attach a better resolution image

Walter Roberson
Walter Roberson 2020-1-27
The Simulink clock block provides the current simulated time.

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by