www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mbcwidgets/@Table1D/addSelectedRegion.m
function addSelectedRegion(obj, R, C, W, H) %ADDSELECTEDREGION Add a selected region of cells in the table % % ADDSELECTEDREGION(OBJ, R, C, W, H) adds a rectangle of cells with its % top-left corner at (R, C) and with a width of W cells and a height of H % cells to the current selection. The selection indices are taken as % being in the view coordinates. % Copyright 2000-2006 The MathWorks, Inc. and Ford Global Technologies, Inc. obj.Peer.addSelection(R-1, C-1, W, H);