Right now I'm interested in using textscan to read specific rows of a .csv file which looks something like this:
type value latency 92 trigger 19593 type value latency 20 trigger 20000 type value latency 14 trigger 21000 type value latency 14 trigger 21000 type value latency 14 trigger 21000 type value latency 14 trigger 21000 type value latency 14 trigger 21000 type value latency 14 trigger 21000 type value latency 14 trigger 21000
I want to have textscan read the rows which have the values "92" and "19593", but to ignore the rows that are blank or the rows that have the words "type" "value" "latency". In addition, the documents I am scanning are of varying lengths, and I want textscan to automatically figure out which rows have the values of interest "92, 20, 14" and "19593" (latency values). How would I have textscan automatically scan the numerical values and ignore all other rows? In addition, I am not interested in scanning the column "value" at all. I only need to scan the two columns "type" and "latency".
Thank you in advance.
Best Answer