iscell
Tests if a value is a cell array.
Syntax
R = iscell(A)
Inputs
- A
- The input to be tested to determine if it is a cell.
Outputs
- R
- R is a logical value indicating whether A is a cell array.
Examples
R = iscell(1)
R = 0
R = iscell({1})
R = 1
R = iscell({1, 'hello', [1,2,3]})
R = 1
R = iscell({[1,2;3,4]})
R = 1