A cell array is a data type with indexed data containers called
cells, where each cell can contain any type of data. Cell arrays commonly
contain either lists of text strings, combinations of text and numbers,
or numeric arrays of different sizes. Refer to sets of cells by enclosing
indices in smooth parentheses,
(). Access the contents
of cells by indexing with curly braces,
more information, see Access Data in Cell Array or watch Introducing
Structures and Cell Arrays.
|Convert cell array to ordinary array of the underlying data type|
|Convert cell array to structure array|
|Convert cell array to table|
|Display cell array contents|
|Apply function to each cell in cell array|
|Graphically display structure of cell array|
|Convert to cell array of character vectors|
|Determine whether input is cell array|
|Determine if input is cell array of character vectors|
|Convert array to cell array whose cells contain subarrays|
|Convert array to cell array with consistently sized cells|
|Join text in array|
|Split string at specified delimiter|
|Convert structure to cell array|
|Convert table to cell array|
Create a cell array using the
Read and write data to and from a cell array.
Add cells, columns, and rows, to a cell array.
Remove data from individual cells, and delete entire cells from a cell array.
Combine cell arrays by concatenation or nesting.
These examples show several ways to pass data from a cell array to a function that does not recognize cell arrays as inputs.
Initialize and allocate memory for a cell array.
A cell array is a data type with indexed data containers called cells. Each cell can contain any type of data.
This example compares cell and structure arrays, and shows how to store data in each type of array. Both cell and structure arrays allow you to store data of different types and sizes.
If you combine arrays in which one or more is a cell array, the resulting array is a cell array.
Access data in arrays stored within cells of cell arrays.