Get the system time in simulink real time

38 visualizaciones (últimos 30 días)
Inna Forsiuk
Inna Forsiuk el 11 de Mzo. de 2021
Comentada: Inna Forsiuk el 18 de Mzo. de 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

Respuesta aceptada

Maadhav Akula
Maadhav Akula el 18 de Mzo. de 2021
  1 comentario
Inna Forsiuk
Inna Forsiuk el 18 de Mzo. de 2021
Thank you very much! It is exactly what I was looking for.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by