struct2cell
Creates a cell from a structure.
📝Syntax
ce = struct2cell(st)
📥Input Arguments
Parameter Description
st a structure.
📤Output Arguments
Parameter Description
ce a cell.
📄Description

ce = struct2cell(st) returns a new cell from the structure.

💡Examples
names = {'Pierre', 'Anna', 'Roberto'}
values =  {45, 42, 13}
st = struct ('name', names, 'age', values);
ce = struct2cell(st)
🔗See Also
cellstructfieldnames
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub