isfield
Checks if a fieldname exists in a struct.
Syntax
res = isfield(S, name)
res = isfield(S, C)
Input argument
S - a struct
name - a string
C - a cell
Output argument
res - a logical
Description
isfield(A) returns true if name is a fieldname of S.
Examples
See also
History
Version
Description
1.0.0
initial version
Author
Allan CORNET
Last updated