nargsout returns the number of return values a function was called with.
Return Value
rsOut is the number of return arguments.
See also
Overview Programming, nargsin
id-140021
nargsin
nc