Using the C Math Library    

Cell Arrays

MATLAB cell arrays provide a way to group together a collection of dissimilar MATLAB arrays.

This table lists the MATLAB C Math Library routines used to create cell arrays and perform basic operations on them. The sections that follow provide more detail about using these routines. For more detailed information about using cell arrays, see Using MATLAB. For more detailed information about any of the library routines, see the online MATLAB C Math Library Reference.

Table 3-4: Cell Array Routines 
To ...
Use ...
Create a multidimensional array of empty cells
mlfCell()

Convert an array of blank-padded character strings into a cell array of strings
mlfCellstr()
Create a cell array by concatenating existing arrays
mlfCellhcat()
Convert a structure into a cell array
mlfStruct2Cell()
Convert a numeric array into a cell array
mlfNum2cell()
View the contents of each cell in a cell array
mlfCelldisp()


 Accessing Individual Strings in an Array of Strings Creating Cell Arrays