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

    %% Convert Timetable and Discard Row Times
% Create a timetable.
Time = datetime({'2015-12-18';'2015-12-19';'2015-12-20'});
Temp = [37.3;39.1;42.3];
Pressure = [29.4;29.6;30.0];
Precip = [0.1;0.9;0.0];
TT = timetable(Time,Temp,Pressure,Precip)

%%
% Convert |TT| to a table and discard its row times.
T = timetable2table(TT,'ConvertRowTimes',false)