cell2table
Convert a cell array to a table.
Syntax
Section titled “Syntax”T = cell2table(C)T = cell2table(C, 'VariableNames', {'name1', ...})Description
Section titled “Description”Each column of cell array C becomes one column variable in the resulting table. Useful for parsing tabular data that arrived as a cell of mixed-type values.
Example
Section titled “Example”cell2table({1, 'a'; 2, 'b'}, 'VariableNames', {'id', 'label'})See also
Section titled “See also”table— Create a table — a heterogeneous tabular data container.cell2mat— Convert a cell array to a matrix.array2table— Convert a matrix to a table.