8.2.7 cell2table

Function: out = cell2table (c)
Function: out = cell2table (…, 'VariableNames', VariableNames)
Function: out = cell2table (…, 'RowNames', RowNames)

Convert a cell array to a table.

Converts a 2-dimensional cell matrix into a table. Each column in the input c becomes a variable in out. For columns that contain all scalar values of cat-compatible types, they are “popped out” of their cells and condensed into a homogeneous array of the contained type.

See also: array2table, table, struct2table