Merge branch 'femwind' of github.com:janmandel/wrf-fire-matlab into femwind
[wrf-fire-matlab.git] / detection / savefile.m
blobcc0e89b27e71fc3e36655173a4e1e7c0ab56cc80
1 function savefile(file)
2 s=sprintf('%s.save.%i',file,round(now*1e9));
3 command=['cp ',file,' ',s];
4 disp(command)
5 if system(command),
6     error('command failed')
7 end
8 end
9