This shows you the differences between two versions of the page.

Link to this comparison view

reference:copyfields [2018/08/23 14:43] (current)
Line 1: Line 1:
 +=====  COPYFIELDS =====
 +Note that this reference documentation is identical to the help that is displayed in MATLAB when you type "help copyfields"​.
 +  <a href=/​reference/​copyfields><​font color=green>​COPYFIELDS</​font></​a>​ copies a selection of the fields from one structure to another
 +  Use as
 +    b = copyfields(a,​ b, fields);
 +  which copies the specified fields over from structure a to structure b. Fields that
 +  are specified but not present will be silently ignored.
 +  See also <a href=/​reference/​keepfields><​font color=green>​KEEPFIELDS</​font></​a>,​ <a href=/​reference/​removefields><​font color=green>​REMOVEFIELDS</​font></​a>,​ <a href=/​reference/​renamefields><​font color=green>​RENAMEFIELDS</​font></​a>​