%FIELDNAMES Get structure field names or Java/COM object properties.
%   NAMES = FIELDNAMES(S) returns a cell array of character vectors
%   containing the names of the fields in structure S.
%
%   NAMES = FIELDNAMES(Obj,'-full') returns a cell array of character
%   vectors containing the name, type, attributes, and inheritance of the
%   properties of Obj. Only supported for COM and Java objects.
%   
%   See also ISFIELD, GETFIELD, SETFIELD, ORDERFIELDS, RMFIELD, 
%   STRUCT2CELL, PROPERTIES.

%   Copyright 1984-2016 The MathWorks, Inc.
%   Built-in function.

