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