| MATLAB Function Reference | ![]() |
Determine if input is cell array
Syntax
Description
tf = iscell(A)
returns logical 1 (true) if A is a cell array and logical 0 (false) otherwise.
Examples
A{1,1} = [1 4 3; 0 5 8; 7 2 9]; A{1,2} = 'Anne Smith'; A{2,1} = 3+7i; A{2,2} = -pi:pi/10:pi; iscell(A) ans = 1
See Also
cell, iscellstr, isstruct, isnumeric, islogical, isobject, isa, is*
| isappdata | iscellstr | ![]() |
© 1994-2005 The MathWorks, Inc.