convert a cell into a table
t = cell2table(c) t = cell2table(c, OptionName, Value, ...)
cell matrix, the elements of c can be heterogeneous type.
Type allowed: double, boolean, string, datetime, duration.
table object
Optional pairs OptionName, Value are:
the variable name of each column of t. The variable names must be unique and their number must be equal to size(m, 2). Default value: ["Var1", ..., "VarN"].
the row names for t. The names must be unique and their number must be equal to size(m, 1). Default value: [].
cell2table converts a cell into a table. t has the same size of c. Each column of c becomes a variable in t. c{:,i} must be the same type.
Like table function, "VariableNames" and "RowNames" can be specified.
t = cell2table(m)
t = cell2table(m, "VariableNames", ["Var1", ..., "VarN"])
| Version | Description |
| 2024.0.0 | Introduction in Scilab. |