Using the C Math Library | ![]() ![]() |
MATLAB Structures
A MATLAB structure can be thought of as a one-dimensional cell array in which each cell is assigned a name. These named cells are called fields. You can create multidimensional arrays of structures but all the structures in the array must have the same fields.
This table lists the MATLAB C Math Library routines used to create structures and perform basic operations on them. The sections that follow provide more detail about using these routines. For more detailed information about using structures, see Using MATLAB. For more detailed information about any of the library routines, see the online MATLAB C Math Library Reference.
![]() | Displaying the Contents of a Cell Array | Creating Structures | ![]() |