Get the system time in simulink real time

18 vues (au cours des 30 derniers jours)
Inna Forsiuk
Inna Forsiuk le 11 Mar 2021
Commenté : Inna Forsiuk le 18 Mar 2021
Hi everyone,
I am using simulink real time and for my model, I need to know the system time (Windows OS) when I start to run the model on the target machine.
The functions such as "clock", "cputime", or "now with datetime" unfortunately are not compatible with the coder of simulink real time.
I would be very grateful for any idea how to solve the problem.
Many thanks in advance!
Inna

Réponse acceptée

Maadhav Akula
Maadhav Akula le 18 Mar 2021
  1 commentaire
Inna Forsiuk
Inna Forsiuk le 18 Mar 2021
Thank you very much! It is exactly what I was looking for.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by