xPCGetScopeList

Get and copy list of scope numbers

Prototype

void xPCGetScopeList(int port, int *data);

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.

data

List of scope numbers in an integer array (allocated by the caller) as a list of unsorted integers.

Description

The xPCGetScopeList function gets the list of scopes currently defined. data must be large enough to hold the list of scopes. You can query the size by calling the function xPCGetNumScopes.

Note

Use the xPCGetScopeList function instead of the xPCGetScopes function. The xPCGetScopes will be removed in a future release.

Introduced in R2008b