AppendColumns
AppendColumns appends a 2D matrix to an existing 2D matrix in a MAT-file
Example:
AppendMatrix(FILENAME, VARNAME, NEWDATA)
FILENAME is a string with the name of the file (which should be a v6
MAT-file).
VARNAME is a string with the name of the target variable.
NEWDATA is a column vector or 2D matrix containing the data to add to
VARNAME
AppendColumns horizontally concatenates the contents of VARNAME and
NEWDATA
Restrictions: VARNAME must be the name of the final variable in FILENAME.
NEWNAME and VARNAME must have the same number of rows. The class of
VARNAME on disc must be the same as NEWNAME (use RestoreDiscClass
after a MATLAB save call,) and both must be real valued.
AppendColumns produces an identical result to the more general
AppendMatrix which may be used with higher dimensions matrices
__________________________________________________________________________
This program is distributed without any warranty,
without even the implied warranty of fitness for a particular purpose.
__________________________________________________________________________
Author: Malcolm Lidierth 11/06
Copyright © The Author & King's College London 2006
__________________________________________________________________________