In this case, varargout{1} corresponds to the third output that the function returns,
and nargout returns length(varargout) + 2.
See Also
nargout | varargout
Related Examples
- “Access Data in Cell Array” on page 12-5
More About
- “Argument Checking in Nested Functions” on page 21-11
See Also