how can I calculate the current simulation time

2 visualizzazioni (ultimi 30 giorni)
Anas Alahdab
Anas Alahdab il 24 Gen 2020
Risposto: Walter Roberson il 27 Gen 2020
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.

Risposte (2)

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

Walter Roberson
Walter Roberson il 27 Gen 2020
The Simulink clock block provides the current simulated time.

Categorie

Scopri di più su Modeling in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by