FUNCTION REFERENCE

num2cell

Put each array element in its own cell.

Put each array element in its own cell.

Syntax

c = num2cell(A)

Returns a cell array of the same size as A. Numeric and logical input only, at most 65536 elements.

Example

c = num2cell([1 2]); c{2}   % 2

Differences from MATLAB: Character input is not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.