%% Read Timetable from Text File
% Create a timetable from the comma-separated text file.
% Read a timetable from the file outages.csv containing six variables. The readtimetable function detects and designates the first column of type datetime or duration  in the tabular data to be the row times of the timetable. The remaining columns become variables of the timetable.

TT = readtimetable('outages.csv');

% Display a summary of the timetable. For this dataset, readtimetable designates the variable OutageTime as the row times and the resulting timetable contains five variables.

summary(TT)

% Copyright 2018 The MathWorks, Inc.