Convert table to structure array
S = table2struct(T)
S = table2struct(T,'ToScalar',true)
S = table2struct(
converts
the table, T
)T
, to a structure array, S
.
Each variable of T
becomes a field in S
.
If T
is an m
-by-n
table,
then S
is a m
-by-1 structure
array with n
fields.