The Simulink® Real-Time™ implementation of PTP enforces specific requirements:
PTP functionality is available only with a Speedgoat® target computer. If you have not installed the Speedgoat I/O Blockset, attempting to build a real-time application with PTP causes a build error.
The support for PTP IEEE-1588 is part of the on-board or installed I/O module connectivity of real-time target machines. After installing the Speedgoat I/O Blockset, you can confirm PTP support by using the function: