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

    function t = lengthenTableVars(t,newLen)
% LENGTHENTABLEVARS Lengthen variables in a table that are too short.

%   Copyright 2012-2016 The MathWorks, Inc.

for j = 1:t.varDim.length
    if size(t.data{j},1) < newLen
        t.data{j} = matlab.internal.table.lengthenVar(t.data{j}, newLen);
    end
end