how can I calculate the current simulation time
Show older comments
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 time

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.
Answers (2)
Nikhil Sonavane
on 27 Jan 2020
0 votes
Can you explain the question in a more detailed manner and also attach a better resolution image
Walter Roberson
on 27 Jan 2020
0 votes
The Simulink clock block provides the current simulated time.
Categories
Find more on Modeling in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!