xPCGetNumStates - Return number of states

Prototype

int xPCGetNumStates(int port);

Arguments

port

Enter the value returned by either the function xPCOpenSerialPort or the function xPCOpenTcpIpPort.

Return

The xPCGetNumStates function returns the number of states in the target application. If there is an error, this function returns -1.

Description

The xPCGetNumStates function returns the number of states in the target application.

See Also

API functions xPCGetStateLog, xPCGetNumOutputs, xPCGetOutputLog

Target object property StateLog

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS