nargchk(min, max, no of input args)
Checks that the number of input args is between min and max
NARGOUTCHK(1, 3, NARGIN)
nargoutchk