Skip to content

iscell

Test whether the input is a cell array.

TF = iscell(A)

Returns true if A is a cell array, false otherwise.

iscell({1, 'foo'}) % 1
iscell([1 2 3]) % 0
  • iscellstr — Test whether the input is a cell array of strings.
  • cell — Information about formatting, location, or contents of a cell.