MATLAB Function Reference Previous page   Next Page
rmfield

Remove fields from structure

Syntax

Description

s = rmfield(s, 'fieldname') removes the specified field from the structure array s.

s = rmfield(s, fields) removes more than one field at a time. fields is a character array of field names or cell array of strings.

See Also

fieldnames, setfield, getfield, isfield, orderfields, dynamic field names


Previous page  rmdir (ftp) rmpath Next page

© 1994-2005 The MathWorks, Inc.