how can I calculate the current simulation time
1 view (last 30 days)
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.
0 Comments
Answers (2)
Nikhil Sonavane
on 27 Jan 2020
Can you explain the question in a more detailed manner and also attach a better resolution image
0 Comments
Walter Roberson
on 27 Jan 2020
The Simulink clock block provides the current simulated time.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!