Program/App that inputs timestamp to Simulink real time?
Mostrar comentarios más antiguos
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.
Respuestas (1)
Umar
el 25 de Jun. de 2024
Movida: Walter Roberson
el 25 de Jun. de 2024
0 votos
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 comentario
Walter Roberson
el 25 de Jun. de 2024
More on Precision Time Protocol is at https://www.mathworks.com/help/slrealtime/io_ref/precision-time-protocol.html
Categorías
Más información sobre Simulink en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!