www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@toGVColumnHeader/setInputValue.m

    function setInputValue(obj, val)
%SETINPUTVALUE Display the given input value
%
%  SETINPUTVALUE(OBJ, VAL) instructs the object to display the given value
%  as the current candidate input setting.  In the case of the toGVColumnHeader,
%  this will update the editbox's value and the axis marker's position.

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


set(obj.hValueEditor, 'Value', val);
set(obj.hAxis,'Value', val);