| MATLAB Function Reference | Search  Help Desk |
| rmfield | See Also |
s = rmfield(s,'field') s = rmfield(s,FIELDS)
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.
fields Field names of a structure
getfield Get field of structure array
setfield Set field of structure array
strvcat Vertical concatenation of strings