www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/SummaryOfTimetableExample.m

    %% Summary of Timetable
% Create a small timetable.
Time = [seconds(1:5)]';
TT = timetable(Time,[98;97.5;97.9;98.1;97.9],[120;111;119;117;116],...
               'VariableNames',{'Reading1','Reading2'})

%%
% Print a summary of the timetable. |summary| prints a summary of the row
% times, followed by a summary of the variables. If the timetable is
% regular, then |summary| also prints the size of the time step between row
% times.
summary(TT)