Programming and Data Types    

Function Summary

This table describes the MATLAB functions for working with structures and cell arrays.

Category
Function
Description
Structure functions
deal
Deal inputs to outputs
fieldnames
Get structure field names.
isfield
True if field is in structure array.
isstruct
True for structures.
rmfield
Remove structure field.
struct
Create or convert to structure array.
struct2cell
Convert structure array into cell array.
Cell array functions
cell
Create cell array.
cell2struct
Convert cell array into structure array.
celldisp
Display cell array contents.
cellfun
Apply a cell function to a cell array.
cellplot
Display graphical depiction of cell array.
deal
Deal inputs to outputs.
iscell
True for cell array.
num2cell
Convert numeric array into cell array.
Cell array of strings functions
deblank
Remove trailing blanks from a string
intersect
Set the intersection of two vectors
ismember
Detect members of a set
setdiff
Return the set difference of two vectors
setxor
Set the exclusive-or of two vectors
sort
Sort elements in ascending order
strcat
Concatenate strings
strcmp
Compare strings
strmatch
Find possible matches for a string
union
Set the union of two vectors
unique
Set the unique elements of a vector
.


  Structures and Cell Arrays Structures