Skip to content

SONGetMarkerChannel

  SONGETMARKERCHANNEL reads a marker channel from a SON file.

  [data{, h}]=SONGETMARKER(FID, CHAN)
  FID is the MATLAB file handle and CHAN is the channel number (1 to Max)
  DATA is a structure containing:
    DATA.TIMINGS: a length n vector with the marker timestamps
    DATA.MARKERS: an n x 4 array of uint8 type, containing the marker
    values

  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 effect
  'progress' - causes a progress bar to be displayed during the read.


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

  Revisions
    21.01.10    R2010a compatibility