Clear Filters
Clear Filters

How do I synchronize PTP clocks between two Speedgoat target computers?

19 views (last 30 days)
Can you give me an example for clock synchronization between two Speedgoat target computers using PTP?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Jul 2024 at 0:00
Edited: MathWorks Support Team on 18 Jul 2024 at 19:12

For MATLAB R2020b and later:

PTP functionality is provided by the Blackberry QNX real-time operating system which is used by Simulink Real-Time. See the QNX documentation to learn more about the PTP daemon and flags: ptpd, ptpd-avb (qnx.com)
See the following prerequisites for enabling PTP on an Ethernet interface: 
The following example shows how to sync PTP clocks on two Speedgoat machines: 
The example files were added in R2023a, but the same commands and principles should work in any release starting from R2020b.
 

For MATLAB R2020a and earlier:

Please follow the Simulink Real-Time example below:

More Answers (0)

Community Treasure Hunt

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

Start Hunting!