Skip to content

SONGetRealMarkerChannel

  SONGETREALMARKERCHANNEL reads an RealMark channel from a SON file.

  [DATA {, HEADER}]=SONGETREALMARKERCHANNEL(FID, CHAN{, START{, STOP{, OPTIONS}}})
  FID is the matlab file handle, CHAN is the channel number (1=max)

  [DATA, HEADER]=SONGETREALMARKERCHANNEL(FID, 1{, OPTIONS})
        reads all the data on channel 1
  [DATA, HEADER]=SONGETREALMARKERCHANNEL(FID, 1, 10{, OPTIONS})
        reads disc block 10 for continuous data or epoch 10 for triggered
        data
  [DATA, HEADER]=SONGETREALMARKERCHANNEL(FID, 1, 10, 20{, OPTIONS})
        reads disc blocks 10-20

  DATA is a structure with 3 fields.
        DATA.TIMINGS contains timestamps
        DATA.MARKERS contains 4 uint8 marker values for each event
        DATA.ADC contains the realwave data associated with each timestamp

  When present, OPTIONS must be the last input argument. Valid options
  are:
  'ticks', 'microseconds', 'milliseconds' and 'seconds' cause times to
     be scaled to the appropriate unit (seconds by default)in HEADER
  'scale' - no effects
  'progress' - causes a progress bar to be displayed during the read.


  Malcolm Lidierth 02/02
  Updated 09/05 ML
  Copyright © The Author & King's College London 2002-2006