MATLAB: Varargin

varargin

what is varargin used for ?and how to use it? and can I change it to an ordinary input variable?

Best Answer

There are situations in which it is not possible to use any fixed number of arguments, so conversion depends upon what your code does.
Related Question