www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@exprList/exprList.m
function obj = exprList(varargin) %EXPRLIST Constructor for exprList object % % OBJ = EXPRLIST(PROP, VAL, ...) % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. if nargin && isa(varargin{1}, 'cgtools.exprList') obj = varargin{1}; varargin(1) = []; else obj = cgtools.exprList; end % Call parent class constructor if length(varargin) obj.itemList(varargin{:}); else obj.itemList; end % Set up property listeners L = obj.addPropertyListeners( ... { ... 'DisplayInputNames', ... }, ... { ... {@i_setdisplayinputs}, ... } ... ); function i_setdisplayinputs(obj, evt) obj.pDisplay(true);