Get the system time in simulink real time

13 Ansichten (letzte 30 Tage)
Inna Forsiuk
Inna Forsiuk am 11 Mär. 2021
Kommentiert: Inna Forsiuk am 18 Mär. 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

Akzeptierte Antwort

Maadhav Akula
Maadhav Akula am 18 Mär. 2021
  1 Kommentar
Inna Forsiuk
Inna Forsiuk am 18 Mär. 2021
Thank you very much! It is exactly what I was looking for.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by