Skip to content

scRemap

  scRemap releases virtual memory used by a sigTOOL data view

  Examples:
  scRemap()
  channels=scRemap(fhandle)
  channels=scRemap(fhandle, ChannelList)
  channels=scRemap(fhandle, ChannelList, mode)

  If no input is given, scRemap releases the virtual memory allocated to all
  sigTOOL data views that are currently open in this instance of MATLAB.
  If fhandle is specified, scRemap releases the virtual memory allocated
  to the specified view only.If ChannelList is specified, only memory
  associated with the specified channels will be released.

  mode is a string: 'include' (default) or 'exclude'. When mode=='exclude',
  memory for all channels except those in ChannelList will be released.

  scRemap updates the application data area(s) of the relevant figure(s).
  If requested, a copy will be returned in channels

  To free up virtual memory successfully, scRemap requires that no
  copies/references to the relevant channel(s) exist in any other MATLAB
  workspace.

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