I have imported a file into my script which included a header. I was able to pull a specific line from my header that reads: ";Start_time, 2007-01-01, 00:48:23.729". This is now a 1×1 cell. I want to be able to indicate and use the date and time stamps separatly. How do I do this?
MATLAB: Pulling a specific element out of a cell
cellcell2datetimeclass conversiondatetimeextract elementstr2datetimestring
Related Question
- Add zero time in timeseries date time column
- Delete the header from a scientific data
- How to calculate series of values by specifying starting time using datenum???????
- Can’t convert a cell array to a date using cellfun(@datenum or @datetime)
- Does datetime return repeated values
- Date time to datenum
- Regular expressions with regexp.
- Datetick error message when displaying dates on the x-axis
Best Answer