Program/App that inputs timestamp to Simulink real time?
이전 댓글 표시
Is there a program/app that can send time to Simulink real-time? I need to run Simulink on two different programs and need to implement the same reference time. Wireshark is good for observing the time, but I don't think it's timestamps can be sent to Simulink.
답변 (1개)
Umar
2024년 6월 25일
이동: Walter Roberson
2024년 6월 25일
0 개 추천
Hi Skylar, In response to your query, there are indeed ways to send time information to Simulink real-time for synchronization purposes. One approach could be utilizing network time synchronization protocols such as Network Time Protocol (NTP) or Precision Time Protocol (PTP) to ensure that both instances of Simulink have the same reference time. By setting up a time server that broadcasts accurate time information using NTP or PTP, you can ensure that both Simulink instances receive synchronized time data. This can help maintain consistency in simulations and ensure accurate results across different programs. Additionally, you may consider exploring custom scripts or plugins that can extract timestamp data from Wireshark captures and feed this information into Simulink. By parsing the timestamp information from Wireshark logs, you can potentially create a bridge between the two programs and synchronize their reference time. Hope that answers your question.
댓글 수: 1
Walter Roberson
2024년 6월 25일
More on Precision Time Protocol is at https://www.mathworks.com/help/slrealtime/io_ref/precision-time-protocol.html
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!