Skip to content

SONTicksToSeconds

  SONTICKSTOSECONDS scales timestamp vector IN

  [OUT,{ TIMEUNITS}]= SONTICKSTOSECONDS(FID, IN{, OPTIONS})
  FID is the matlab file handle, IN is a vector of timestamps from the file.

  OPTIONS if present, may contain:
    'Ticks' : Returns the time in base clock ticks
    'microseconds', 'milliseconds' or 'seconds' (=default): scales the output
         to the appropriate unit

  OUT contains the scaled timestamps. TIMEUNITS, if present, is a string
  copied from OPTIONS giving the time units

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