Documentation

xPCSetStopTime

Change real-time application stop time

Prototype

void xPCSetStopTime(int port, double tfinal);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

tfinal

Enter the stop time, in seconds.

Description

The xPCSetStopTime function sets the stop time of the real-time application to the value in tfinal. The real-time application runs for this number of seconds before stopping. Set tfinal to -1.0 to set the stop time to infinity.

Introduced before R2006a

Was this topic helpful?