MATLAB Function Reference | ![]() ![]() |
Syntax
s = rmfield(s,'field') s = rmfield(s,FIELDS)
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
getfield
, setfield
, fieldnames
![]() | rmappdata | rmpath | ![]() |