mini-example:

```
function varargout = wrapper(varargin)
varargout = someFunction(varargin);

```

That's how I'd do it first. But for example if `someFunction = ndgrid` this yields a not defined for cell arrays error, so the next try was using `someFunction(varargin{:})` instead. That's a successful call, but calling `[a,b] = wrapper([1,2], [3,4])` does not yield the same result as a direct call to `ndgrid`, so what am I doing wrong?