Get the system time in simulink real time

18 ビュー (過去 30 日間)
Inna Forsiuk
Inna Forsiuk 2021 年 3 月 11 日
コメント済み: Inna Forsiuk 2021 年 3 月 18 日
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

採用された回答

Maadhav Akula
Maadhav Akula 2021 年 3 月 18 日
  1 件のコメント
Inna Forsiuk
Inna Forsiuk 2021 年 3 月 18 日
Thank you very much! It is exactly what I was looking for.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by