www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgsurfview/@inputlist/setInputs.m

    function setInputs(obj, pInputs, AxNames)
%SETINPUTS Set the input and variable items
%
%  SETINPUTS(OBJ, PINPUTS, AXISNAMES) sets a new list of inputs and the
%  axis names.  An update of the inputlist object is then forced.

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.


set(obj.hInputListListeners, 'enabled', 'off');
obj.AxisNames = AxNames;
obj.Inputs = pInputs;
set(obj.hInputListListeners, 'enabled', 'on');
obj.update;