timetable

Methods

Method Reference: timetable.table2struct

timetable: S = table2struct (tt)

timetable: S = table2struct (tt, 'ToScalar', true)

Converts a timetable to a scalar structure or structure array.

S = table2struct (tt) returns a structure array with the same fields as the variables in tt. The length of S is the same as the height of tt.

S = table2struct (tt, 'ToScalar', true) returns a scalar structure with the same fields as the variables in tt. Each field has the same rows as tt.

The row times and every other property of tt are left out.

See also: timetable.table2array, timetable.table2cell, timetable.timetable2table, table.table2struct

Source Code: timetable