Matlab Wrapper Scripts
To wrap a function with variable input arguments and pass them all on to the wrapped function. Based on a StackOverflow answer:
function varargout = wrapper( varargin )
[varargout{1:nargout}] = someFunction( varargin{:} );
Used in the printf toolbox: where we wrap fprint to print directly to stdout.
function printf( varargin )
fprintf(1, varargin{:});
end
Matlab
Programming
]