www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@tableTableView/getSelectedRects.m
function sel = getSelectedRects(obj) %GETSELECTEDRECTS Return the set of selected region rectangles % % SEL = GETSELECTEDRECTS(OBJ) returns the current selection in the table as a % set of rectangle definitions. The output is a (N-by-2) cell array with % each row corresponding to a separate selection rectangle. The first % column contains [min max] pairs for each block's row extents and the % second column contains [min max] pairs for each block's column extents. % Copyright 2000-2005 The MathWorks, Inc. and Ford Global Technologies, Inc. sel = obj.hTable.getSelectedRegions;