Skip to content

scGetChannelsByType

  scGetChannelsByType returns a list of channels with a specified type

  Examples:
  list=scGetChannelsByType(fhandle, type)
  list=scGetChannelsByType(channels, type)

  Inputs:
  fhandle/channels
        is a sigTOOL data view figure handle or channel list
  type
        is the string to match in the hdr.channeltype field e.g. 'Waveform'
        'Framed Waveform'
        type may also be  one of: 'all', 'empty', 'episodic', 'triggered',
                                  'list' or 'none'.

  Output:
  list is the list of matching channels (empty for type=='none')

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