I want to convert some ASCII data file time stamps to matlab variables using the DATENUM function. I do not wish to change my ASCII data time stamp format which is in the following format:
'2011-06-16 08:29:49' '2011-06-16 08:29:49.05' '2011-06-16 08:29:49.1'
Is there a way I can map these time stamps(including milliseconds) to a variable in MATLAB? The variable should be saved in a format that matches the output of the DATENUM function.
Best Answer