
close all
clear all


outDir = 'SeaHorseFiles';



  fid = fopen([outDir '/sh__0200.cnv'])
  
  first_sample_time = [];
  while(isempty(first_sample_time))
     tline = fgets(fid)
     k = strfind(tline,'First Sample Time:');
     if(k>0)
         first_sample_time = tline(k+18:end);
     end
  end
  

  C{n,1} = textscan(fid, '%f %f %f %f','commentStyle','*');
  fclose(fid);
