www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@tradeoffGraphView/pSetValue.m
function pSetValue(obj, Column, Value) %PSETVALUE Interface that allows editing of an input's value % % PSETVALUE(OBJ, COLUMN, VALUE) sets the inputs at column index COLUMN to % have a candidate value of VALUE. This interface is used by the column % header objects to notify this object of a value edit by the user. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. % The new value is passed directly to the tradeoff services, which posts % a gui-wide update notification back to us. PR = xregGui.PointerRepository; ptrID = PR.stackSetPointer(obj.Parent, 'watch'); obj.MessageService.TradeoffServices.setValue(Column, Value); PR.stackRemovePointer(obj.Parent, ptrID);