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

Link to this comparison view

reference:appendstruct [2018/08/23 14:43]
reference:appendstruct [2018/08/23 14:43] (current)
Line 1: Line 1:
 +=====  APPENDSTRUCT =====
 +Note that this reference documentation is identical to the help that is displayed in MATLAB when you type "help appendstruct"​.
 +  <a href=/​reference/​appendstruct><​font color=green>​APPENDSTRUCT</​font></​a>​ appends a structure to a structure or struct-array.
 +  It also works if the initial structure is an empty structure or
 +  an empty double array. It also works if the input structures have 
 +  different fields.
 +  Use as
 +    ab = appendstruct(a,​ b)
 +  See also <a href=/​reference/​printstruct><​font color=green>​PRINTSTRUCT</​font></​a>,​ <a href=/​reference/​copyfields><​font color=green>​COPYFIELDS</​font></​a>,​ <a href=/​reference/​keepfields><​font color=green>​KEEPFIELDS</​font></​a>,​ <a href=/​reference/​removefields><​font color=green>​REMOVEFIELDS</​font></​a>​