function opt = func(varargin). if nargin == 1. ipt = varargin{1};. % do something when there is 1 input. elseif nargin == 2.
確定! 回上一頁