timetable

Methods

Method Reference: timetable.timetable2table

timetable: tbl = timetable2table (tt)
timetable: tbl = timetable2table (tt, 'ConvertRowTimes', tf)

Convert a timetable to a table.

tbl = timetable2table (tt) converts the timetable tt to a table whose first variable is the row times, named after the row dimension they came from. The dimension names of the result are the defaults, 'Row' and 'Variables', a table labelling its rows by name rather than by time.

tbl = timetable2table (tt, 'ConvertRowTimes', tf) keeps the row times as that first variable when tf is true, which is the default, and discards them when it is false: the result has only the variables, and the times are gone rather than kept elsewhere.

An event table attached to tt is not carried across, a table having nowhere to keep one, and converting the result back with table2timetable does not bring it back. An eventtable given here becomes a plain table like any other timetable.

See also: table.table2timetable, array2timetable, timetable, table, eventtable

Source Code: timetable