table2struct
Convert table to structure array
Description
converts
the table or timetable, S = table2struct(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
Tis a table with row names, thenSdoes not include the row names.If
Tis a timetable, thenSdoes not include the row times.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2013b