gusucode.com > datatypes 工具箱matlab源码程序 > datatypes/@tabular/height.m

    function h = height(t)
%HEIGHT Number of rows in a table.
%   H = HEIGHT(T) returns the number of rows in the table T.  HEIGHT(T) is
%   equivalent to SIZE(T,1).
%  
%   See also WIDTH, SIZE, NUMEL.

%   Copyright 2012-2016 The MathWorks, Inc. 

h = t.rowDim.length;