www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mbcwidgets/@Table1D/getSelectedColumns.m

    function C = getSelectedColumns(obj)
%GETSELECTEDCOLUMNS  Get the selected columns in the table.
%
%  GETSELECTEDCOLUMNS(OBJ) returns a vector containing the column indices
%  of the selected columns.  The indices will be returned in the data model
%  coordinates.

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


C = javaMethodEDT('getSelectedModelColumns',java(obj.Peer)) + 1;