isfield - Check whether string is field name

Syntax

F = isfield(tsobj, name)

Description

F = isfield(tsobj, name) returns true (1) if name is the name of a data series in tsobj. Otherwise, isfield returns false (0).

See Also

fieldnames, getfield, setfield

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS