Main Content

stop

Stop the PTP daemon on the target computer

Description

example

stop(target_object.ptpd) stops the RTOS PTP daemon on the target computer.

Examples

collapse all

The stop command stops the PTP daemon on the target computer.

Create a Target object and connect to the target computer. Creating a Target object creates a child Target.ptpd object. Start the PTP daemon on the target computer. Run the real-time application. Stop the PTP daemon.

tg = slrealtime('TargetPC1');
connect(tg);
start(tg.ptpd);
% ... run real-time application
stop(tg.ptpd);

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Introduced in R2020b