I am using textscan to read a file. The data of file is something like:
and so on.
I am having problems in defining formatspec to be used in textscan. I tried reading it by using fileread which converts it into a string array of single cell. I wish to obtain just the string before a blank i.e,
and so on. Can anybody please help me with the problem? Thanks