Documentation

xPCSetLoadTimeOut

Change initialization timeout value between development and target computers

Prototype

void xPCSetLoadTimeOut(int port, int timeOut);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

timeOut

Enter the new communication timeout value.

Description

The xPCSetLoadTimeOut function changes the timeout value for communication between the development and target computers. The timeOut value is the time a Simulink® Real-Time™ API function waits for the communication to complete before returning. It enables you to set the number of communication attempts to be made before signaling a timeout.

Introduced before R2006a

Was this topic helpful?