www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@lookup2editor/settable.m

    function settable(obj,tableptr)
%SETTABLE  Sets the table which this component edits
%
%  SETTABLE(OBJ, TABLEPTR) sets OBJ to be editing the table in TABLEPTR.

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


obj.TablePtr = tableptr;
obj.Table.clearSelection;
obj.update;