Cell Arrays Previous: Lists Up: Containers



Cell Arrays

cell (x) Built-in Function
cell (n m) Built-in Function
Create a new cell array object. If invoked with a single scalar argument cell returns a square cell array with the dimension specified. If you supply two scalar arguments cell takes them to be the number of rows and columns. If given a vector with two elements cell uses the values of the elements as the number of rows and columns respectively.

cellstr (string) Built-in Function
Create a new cell array object from the elements of the string array string.

iscell (x) Built-in Function
Return true if x is a cell array object. Otherwise return false.