<< cellstr | Data structures | getfield >> |
names = fieldnames(st) |
names = fieldnames(h) |
names = fieldnames(h, '-full') |
a structure
a handle object
a cell of strings
names = fieldnames(st) returns a cell of strings with the names of the fields in the input structure.
names = fieldnames(h) returns a cell of strings with the names of the properties in the handle (without hidden).
names = fieldnames(h, '-full') returns a cell of strings with the names of the all properties in the handle.
fieldnames(dir())
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET