Note that this reference documentation is identical to the help that is displayed in MATLAB when you type “help renamefields”.

  RENAMEFIELDS renames a selection of the fields in a structure
 
  Use as
    b = renamefields(a, old, new)
  which renames the fields with the old name to the new name. Fields that
  are specified but not present will be silently ignored.
 
  See also COPYFIELDS, KEEPFIELDS, REMOVEFIELDS