function example

  arg1 = 1;
  arg2 = 2;
  arg3 = 3;

  args = {arg1, arg2, arg3};


  ret1 = testfun (arg1, arg2, arg3)     # works

  ret2 = testfun (args{:})              # doesn't work

endfunction

function ret = testfun (varargin)

  ret = arrayfun (@inputname, 1:nargin, "uniformoutput", false);

endfunction
