www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@lookup1editor/getSelectedRects.m
function sel = getSelectedRects(obj) %GETSELECTEDRECTS return the set of selected region rectangles % % 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.Table.getSelectedRegions;