getfield
Returns value of a field in a struct.
Syntax
value = getfield(st, field)
Input argument
st - a structure.
field - a string.
Output argument
value - the value of a field from a structure.
Description
value = getfield(st, field) returns the value of the field named field from a structure.
Example
See also
History
Version
Description
1.0.0
initial version
Author
Allan CORNET
Last updated