www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mbcwidgets/@scrollTable/getDisplaySize.m
function sz = getDisplaySize(obj) %GETDISPLAYSIZE Return the actual number of rows and columns that are displayed % % SZ = GETDISPLAYSIZE(OBJ) returns a two-element vector containing the % number of rows and columns that are actually being displayed by the % scrolling table. % Copyright 2000-2006 The MathWorks, Inc. and Ford Global Technologies, Inc. sz = [obj.numRows, obj.numCols];