<< fieldnames | Data structures | iscellstr >> |
value = getfield(st, field) |
a structure.
a string.
the value of a field from a structure.
value = getfield(st, field) returns the value of the field named field from a structure.
example.a = 1
example.b = 'nelson'
example.c = []
getfield(example, 'b')
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET