close all
clear all

path = 'X:\707976 EPBuoyPrototypeAndTesting\TestMachine\Test Data\March2_2012\';

files = dir([path 'D*']);

idx = zeros(1,length(files));
for i = 1:length(files)
  if(strfind(files(i).name,'.mat'))
    idx(i) = i;
    idx(i-1) = i;  %This is a kludge, relies of file ordering to keep from re-decoding a file that already has a .mat file
  end
end

for i = 1:length(files)

    if(~idx(i))
      filename = files(i).name
      SurfaceLogFileDecoderRing
    end
end   
