Cell Arrays
A cell array is a MATLAB array for which the elements are cells, containers that can hold other MATLAB arrays. For example, one cell of a cell array might contain a real matrix, another an array of text strings, and another a vector of complex values.
You can build cell arrays of any valid size or shape, including multidimensional structure arrays.
Note The examples in this section focus on two-dimensional cell arrays. For examples of higher-dimension cell arrays, see Multidimensional Arrays. |
The following list summarizes the contents of this section:
Nesting Structures | Creating Cell Arrays |