nargout
Number of output arguments forSystem object
Syntax
Description
returns the number of output arguments that are required by thenumOutputs
= nargout(obj
)obj
algorithm definition. This function is a System object™ extension of the generalnargout
function.
If your System object uses thematlab.system.mixin.Nondirect
(Simulink)class,nargin
returns the number of output arguments for theupdateImpl
andoutputImpl
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.