Following code show how to create a table of timetables
dates = (datetime('00:00:00'):duration(0,10,0):datetime('23:59:59'))';
sample_tt1 = timetable(dates, rand(size(dates)), rand(size(dates)));
sample_tt2 = timetable(dates, rand(size(dates)), rand(size(dates)));
sample_tt3 = timetable(dates, rand(size(dates)), rand(size(dates)));
sample_tt4 = timetable(dates, rand(size(dates)), rand(size(dates)));
t = table();
t.flow(1) = {sample_tt1};
t.flow(2) = {sample_tt2};
t.pressure(1) = {sample_tt3};
t.pressure(2) = {sample_tt4};
Best Answer