timetable2table — Convert a timetable into a table.
timetable2table(TT) converts a timetable to a table and places the row-time vector in the first table variable.
Syntax
T = timetable2table(TT, ConvertRowTimes=value)Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
TT | Any | Yes | — | Input timetable. |
ConvertRowTimes | PropertyValue | No | true | Logical flag that controls whether row times become the first table variable. |
Returns
| Name | Type | Description |
|---|---|---|
T | Any | Output table. |
How timetable2table works
- Row times are converted by default and prepended as a
Timevariable. Set"ConvertRowTimes"tofalseto discard them. - Variable order, native integer classes, exact payloads, and row names are preserved.
Example
Convert Row Times To A Table Variable
T = timetable2table(TT)Expected output:
T = table objectUsing timetable2table with coding agents
Open a RunMat example with live inputs, then ask the agent to explain how timetable2table changes the result.
Run a small timetable2table example, explain the result, then change one input and compare the output.
Related Table functions
array2table · array2timetable · categorical · cell2table · dictionary · groupsummary · head · height · iscategorical · isordinal · istable · istimetable · ordinal · pivot · rowfilter · struct2table · table · table2array · table2cell · table2struct · table2timetable · timerange · timetable · uitable · vartype · width
Open-source implementation
Unlike proprietary runtimes, every RunMat function is open-source. Read exactly how timetable2table is executed, line by line, in Rust.
- View the source for timetable2table in Rust on GitHub
- Learn how the RunMat runtime works
- Found a bug? Open an issue with a minimal reproduction.
About RunMat
RunMat is an open-source runtime that executes MATLAB-syntax code blazing on any GPU. It is licensed under the Apache 2.0 license.
- RunMat automatically optimizes your math for GPU execution on Apple, Nvidia, and AMD hardware. No code changes needed. Simulations that took hours now take minutes.
- Start running code in seconds. RunMat runs in the browser, on the desktop, or from the CLI. No license server, no IT ticket.