timetable.addprop
timetable: tt = addprop (tt, propertyNames, propertyTypes)
Add custom properties to a timetable.
tt = addprop (tt, propertyNames,
propertyTypes) adds properties that carry custom metadata to the
timetable tt. propertyNames names them, as a character
vector, a cell array of character vectors, or a string array, and
propertyTypes says what each one describes, one per name:
'table' for a property describing the timetable as a whole and
'variable' for one carrying an entry per variable, which is
kept in step as variables are added, removed, moved and renamed.
A property is added empty; assign it through
tt.Properties.CustomProperties.PropertyName. The
row times are not a variable and carry no entry of their own.
Source Code: timetable