Section: Inspection Functions
iscell
x = iscell(y)
and it returns a logical 1 if the argument is a cell array and a logical 0 otherwise.
--> iscell('foo') ans = 0 --> iscell(2) ans = 0 --> iscell({1,2,3}) ans = 1 --> quit