www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgdatasetgui/@table/getSelectedDatasetColumns.m
function sel = getSelectedDatasetColumns(obj) %GETSELECTEDDATASETCOLUMNS Return currently selected columns in dataset % % SEL = GETSELECTEDDATASETCOLUMNS(OBJ) returns a vector containing the indices % of the currently selected columns of the dataset. % Copyright 2000-2007 The MathWorks, Inc. and Ford Global Technologies, Inc. sel = obj.getSelectedColumns; if ~isempty(sel) sel = obj.pConvertDisplayToDataset(sel); end