www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@exprview/pUpdateSelection.m
function pUpdateSelection(obj, pItem) %PUPDATESELECTION Update the currently selected block % % PUPDATESELECTION(OBJ, PITEM) updates the current item that is % selected in the expression chain. % Copyright 2000-2010 The MathWorks, Inc. and Ford Global Technologies, Inc. obj.SelectedExpression = pItem; send(obj, 'SelectionChanged', ... xregGui.xregEventData(obj, 'SelectionChanged', struct('NewSelection', pItem)));