FUNCTION REFERENCE
inputname
Return the caller's variable name for a function input.
Return the caller's variable name for a function input.
Syntax
name = inputname(index)Expressions have an empty input name, and so do calls made through cellfun, arrayfun, feval or a function handle.
Example
v=3; name=whichinput(v); name, function y=whichinput(a), y=inputname(1); end % vDifferences from MATLAB: No active function produces an error, as in MATLAB.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.