www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@toGVCell/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 toGVCell, % this will update the vertical value line's position. % Copyright 2000-2010 The MathWorks, Inc. and Ford Global Technologies, Inc. if ~isempty(get(obj.hValueLine, 'YData')) set(obj.hValueLine, 'XData', [val val]); end