MATLAB Function Reference
  Go to function:
    Search    Help Desk 
rmfield    See Also

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

getfield, setfield, strvcat



[ Previous | Help Desk | Next ]