MATLAB Function Reference | ![]() ![]() |
Structure to cell array conversion
Syntax
Description
c = struct2cell(s)
converts the m
-by-n
structure s
(with p
fields) into a p
-by-m
-by-n
cell array c
.
If structure s
is multidimensional, cell array c
has size [p size(s)]
.
Examples
Converting the structure to a cell array,
See Also
![]() | struct | strvcat | ![]() |