

load('/home/wimmers/eyeHough/hurricanes/isabel/nhcBestTrack.mat'); % loads nhcBestTrack
fid=fopen('latestTrack.txt','w');

[rows,cols]=size(nhcBestTrack);
for i=1:rows
    hhcmm=datestr(nhcBestTrack(i,1),'HH:MM');
    fprintf(fid,'%s %s %s %s %s %s   %5.2f    %6.2f   %d\n', datestr(nhcBestTrack(i,1),'yyyy'), datestr(nhcBestTrack(i,1),'mm'), datestr(nhcBestTrack(i,1),'dd'), ...
        hhcmm(1:2), hhcmm(4:5), '00', nhcBestTrack(i,2), nhcBestTrack(i,3), nhcBestTrack(i,5));
end
