Navigation

Operators and Keywords

Function List:

C++ API

: inputname (n)

Return the name of the n-th argument to the calling function.

If the argument is not a simple variable name, return an empty string. As an example, a reference to a field in a structure such as s.field is not a simple name and will return "".

inputname is only useful within a function. When used at the command line it always returns an empty string.

See also: nargin, nthargout.

Package: octave