clear

fileName = 'WF-CANONCruiseSept2010_tensionModifiedTime.txt';
fid = fopen(fileName);
fprintf(1,'Reading from file %s\n', fileName);
data = textscan(fid,'%s %d %s %s %s %f %f %s %s %f %f %f %s', 'Delimiter', '\t', 'HeaderLines', 1);
fclose(fid);

date = data{4}(:);
time = data{5}(:);
fprintf(1,'Generating spaces\n');
spaces = blanks(length(date));

fprintf(1,'Converting to string array\n');
dt = [char(date) spaces' char(time)];

fprintf(1,'Converting to cell array\n');
dtCell = cellstr(dt);

fprintf(1,'But none of these do\n');
dtNum = datenum(dtCell)


