close all
clear all

datapath = 'X:\707976 EPBuoyPrototypeAndTesting\Deployments\Nov2012 Deployment\DecodedResults\R00001\';

files = dir([datapath '*.mat']);


for i = 1:length(files)
    i
    data = load([datapath files(i).name]);
    idx = find(data.LatchingControllerState > 0);
    if(~isempty(idx))
        disp(files(i).name);
    end   
    clear data;
end