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.

Respuestas (1)

Umar
Umar el 25 de Jun. de 2024
Movida: Walter Roberson el 25 de Jun. de 2024
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.

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 25 de Jun. de 2024

Comentada:

el 25 de Jun. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by