This MATLAB function throws an error if the number of outputs specified in the call is less than minargs or greater than maxargs.
www.mathworks.com