Function Reference
— Loadable Function: c = num2cell (m)
— Loadable Function: c = num2cell (m, dim)

Convert the matrix m into a cell array. If dim is defined, the value c is of dimension 1 in this dimension and the elements of m are placed in slices in c.

See also: mat2cell