Skip to content

SONGetTextMarkerChannel

  SONGETTEXTMARKERCHANNEL 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
    DATA.TEXT: an n x m array, with m characters for each of the n tiemstamps
  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.


  Revised
  01/05/06
  Bug: Remove double call to SONTicksToSeconds introduced with v2.00.
  26/9/06
  Change: Now returns uint8

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