MATLAB Function Reference    
isfield

Determine if item is a MATLAB structure array field

Syntax

Description

tf = isfield(A,'field')    returns logical true (1) if field is the name of a field in the structure array A, and logical false (0) otherwise.

Examples

Given the following MATLAB structure,

isfield identifies billing as a field of that structure.

See Also
struct, isstruct, iscell, isa, is*


  isevent (COM) isfinite