nmaxargsΒΆ

nmaxargs returns the number of function arguments and return values.

rvArgs = nmaxargs(ssFuncName)

Return Value

rvArgs is a vector with two elements, nArgsIn and nArgsOut.

Parameters

ssFuncName

ssFuncName is the function name.

Example

The eig function can return two values (Eigen values, Eigen vectors). The function expects one argument.

* nmaxargs("eig")
    1.0000     2.0000

id-1299980