Get the system time in simulink real time

37 views (last 30 days)
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

Accepted Answer

Maadhav Akula
Maadhav Akula on 18 Mar 2021

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!