MATLAB Function Reference    
rmfield

Remove structure fields

Syntax

Description

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

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

See Also

fieldnames, isfield, orderfields


  rmdir rmpath