xPCGetNumParams

Return number of tunable parameters

Prototype

int xPCGetNumParams(int port);

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.

Return

Returns the number of tunable parameters in the real-time application. If the function detects an error, it returns -1.

Description

The xPCGetNumParams function returns the number of tunable parameters in the real-time application. Use this function to see how many parameters you can get or modify.

Introduced before R2006a