<< struct | Data structures |
ce = struct2cell(st) |
a structure.
a cell.
ce = struct2cell(st) returns a new cell from the structure.
names = {'Pierre', 'Anna', 'Roberto'}
values = {45, 42, 13}
st = struct ('name', names, 'age', values);
ce = struct2cell(st)
cell, struct, fieldnames.
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET