How to get current date time in Simulink?
조회 수: 9 (최근 30일)
이전 댓글 표시
Hallo,
I require Date time entry in String Data type in my model. How can i get current Date time in Simulink model except using Matlab fuction?
At the moment i made workaround with using "now" function in Matlab function. In future i dont want any Matlab function block in my model.
Thanks in advance!
Kind regards,
Harsh
댓글 수: 2
Fangjun Jiang
2020년 4월 2일
I am curious about your use case. The simulation could be faster or slower than real world. You want a new date time string at every simulation step?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!