NARGOUT NARGOUT Number of Output Arguments Usage The special variable nargout is defined inside of all functions. It indicates how many return values were requested from the function when it was called. FreeMat allows for fewer return values to be requested from a function than were declared, and nargout can be used to determine exactly what subset of the functions outputs are required. There is no syntax for the use of nargout - it is automatically defined inside the function body.