Both structures and cell arrays provide a hierarchical storage mechanism for dissimilar kinds of data. They differ from each other primarily in the way they organize data. You access data in structures using named fields, while in cell arrays, data is accessed through matrix indexing operations. Category Function Description Structure functions deal Deal inputs to outputs fieldnames Get structure field names. True for structures.
Convert structure array into cell array.
Cell array functions cell Create cell array. Convert cell array into structure array. 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 Concatentate 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 .