Skip to content

scCommit

  scCommit commits memory mapped data on disc to memory

  Examples:
  err=scCommit(fhandle, channelnumber)
  [channels err]=scCommit(channels, channelnumber)

  fhandle is a sigTOOL data view figure handle
  channels is a sigTOOL channel cell arry
  channelnumber is the number of the chanel to commit to RAM
  err is returned zero if the operation completed successfully, -1 otherwise.

  Use lasterror() to determine why a failure occurred. This is likely to be
  because you are out of memeory in which case channels will be unchanged.

  Note that the adc field of Custom channels will not be committed to RAM

  -------------------------------------------------------------------------
  Author: Malcolm Lidierth 08/07
  Copyright © The Author & King's College London 2007-
  -------------------------------------------------------------------------