In the attached file there are some Categories for some dates (positively disturbed, negatively disturbed, quiet). I am trying to write a program that takes a date e.g. '12-Mar-2010' and checks from this file what category that date belongs to. (Or if it is not in any of the three categories). I'm stuck with file reading due to the strange format of this file. I have tried textscan, fileread, regexp with different formatspecs but am unable to get all this data into some easily to process form (matrices may be) for easy comparison with given date/dates. Any help is appreciated.
MATLAB: Check a date in a formatted text file for a match, regexp help
datefile readingformatspecregexptext file
Best Answer