struct2cell
- :
c =struct2cell(s)¶ Convert the structure array s into a cell array of its field values.
The first dimension of c runs over the fields, in field order, and the remaining dimensions are those of s. A scalar structure therefore gives a column of values.