xPCScGetNumSignals

Get number of signals in scope

Prototype

int xPCScGetNumSignals(int port, int scNum);

Note

Do not use this C API type definition. Support for this type definition relies on support for the C API, which will be removed in a future release.

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

scNum

Enter the scope number.

Return

Returns the number of signals in the scope scNum. If the function detects an error, it returns -1.

Description

The xPCScGetNumSignals function gets the number of signals in the scope scNum. Use the xPCGetScope function to get the scope number.

Introduced in R2008b