FUNCTION REFERENCE
table2timetable
Convert a table to a timetable.
Convert a table to a timetable.
Syntax
TT = table2timetable(T)Syntax
TT = table2timetable(T,'RowTimes',t)With one argument, the first datetime or duration variable supplies row times and is removed from the variables. Its name becomes the first dimension name. An explicit RowTimes vector preserves the input variables and names the dimension Time.
Example
t = datetime(2024,1,[1;2]); x = [3;4]; T = table(t,x); TT = table2timetable(T)Differences from MATLAB: RowTimes variable-name selection and sampling name-value options are not supported.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.