Function Reference

Data Containers

Data Structures

struct_levels_to_print
Query or set the internal variable that specifies the number of structure levels to display.
struct
Create a structure and initialize its value.
isstruct
Return 1 if the value of the expression EXPR is a structure.
rmfield
Remove field F from the structure S.
setfield
Set field members in a structure.
orderfields
Return a struct with fields arranged alphabetically or as specified by S2 and a corresponding permutation vector.
fieldnames
Return a cell array of strings naming the elements of the structure STRUCT.
isfield
Return true if the expression EXPR is a structure and it includes an element named NAME.
getfield
Extract fields from a structure.
substruct
Create a subscript structure for use with `subsref' or `subsasgn'.
structfun
Evaluate the function named NAME on the fields of the structure S.
struct2cell
Create a new cell array from the objects stored in the struct object.

Cell Arrays

celldisp
Recursively display the contents of a cell array.
cell
Create a new cell array object.
iscell
Return true if X is a cell array object.
num2cell
Convert the matrix M into a cell array.
mat2cell
Convert the matrix A to a cell array.
cellstr
Create a new cell array object from the elements of the string array STRING.
iscellstr
Return true if every element of the cell array CELL is a character string
cellidx
Return indices of string entries in LISTVAR that match strings in STRLIST.
cellfun
Evaluate the function named NAME on the elements of the cell array C.
cell2mat
Convert the cell array C into a matrix by concatenating all elements of C into a hyperrectangle.
cell2struct
Convert CELL to a structure.