Skip to content

ChangeDimensions

  ChangeDimensions is called to increase the size of an existing variable

  Example:
  ChangeDimensions(FH, W, VAR, VARSZ)
  FH: the file handle
  W: the structure returned by a call to WHERE for var
  VAR: the variable
  VARSZ: the required dimensions array

  The product of the elements of VARSZ must be greater than numel(VAR)
  VAR must be the last variable in the MAT-file

  Normally called from CreateMatrix

  See also CreateMatrix

  Toolboxes required: None

  Acknowledgements:
  Revisions:
 __________________________________________________________________________

  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
 __________________________________________________________________________