%% Create Timetable from Text File
% Create a table from the comma-separated text file.

TT = readtimetable('outages.csv');

% Display a summary of the table. When creating a timetable, if you do not specify any parameters for row times, then the readtimetable function detects and designates the first datetime or duration variable in the data, OutageTime, as the row times variable. The remaining variables become the variables of the timetable.

summary(TT)

% Copyright 2018 The MathWorks, Inc.