table2struct
Convert table to structure array
Description
S = table2struct(
converts the table or timetable,
T
)T
, to a structure array, S
. Each variable
in T
becomes a field in S
. If
T
is an m
-by-n
table or
timetable, then S
is a m
-by-1 structure array
with n
fields.
The output S
does not include the table properties in
T.Properties
.
If
T
is a table with row names, thenS
does not include the row names.If
T
is a timetable, thenS
does not include the row times.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2013b