Skip to content

AppendData

  AppendData adds data to an existing variable in a v6 MAT-file

  Example:
  AppendData(FILENAME, W, NEWDATA, ADDCOLUMNFLAG)
  FILENAME is a string 
  W is the output of a prior cell to WHERE(FILENAME, VARNAME) - VARNAME is
    the target variable in the file
  NEWDATA are the data to append to the variable
  ADDCOLUMNFLAG forces data to be added to a new column in the case where
    VARNAME is a row vector (not required otherwise)

  AppendData does the work when called from AppendVector, AppendColumns and
  AppendMatrix

 __________________________________________________________________________

  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
 __________________________________________________________________________