<< table2array | Tables | table2struct >> |
S = table2cell(T) |
S = table2cell(T, "ToScalar", true) |
a table object
Cell array.
C = table2cell(T) converts the table T into a cell array C, where each variable in T is transformed into a column of cells in C.
The output C does not include any properties from T.Properties.
If T contains row names, these will not be included in C.
S = ["Y";"Y";"N";"N";"N"];
A = [38;43;38;40;49];
B = [124 93;109 77; 125 83; 117 75; 122 80];
T = table(S, A, B, 'VariableNames',["Smoker" "Age" "BloodPressure"], 'RowNames',["Chang" "Brown" "Ruiz" "Lee" "Garcia"])
C = table2cell(T)
Version | Description |
---|---|
1.8.0 | initial version |
Allan CORNET