Number of output arguments for System object
returns the number of
output arguments that are required by the numOutputs = nargout(obj)obj algorithm definition. This function is a
System object™ extension of the general nargout function.
If your System object uses the matlab.system.mixin.Nondirect (Simulink) class, nargin
returns the number of output arguments for the updateImpl and outputImpl
methods.
nargout returns the number of output arguments specified in the call to the currently
executing System object. Use this syntax in the body of a System object only.