I am attempting to read data from a text file using MATLAB 7.8 (R2009a). Each line of the text file contains tokens which in this case are numbers separated by one or more spaces. Additionally, each line of the text file contains different number of tokens. As there are a different number of tokens on each line, I am unable to use the TEXTSCAN or FSCANF functions to read the data. Currently, I am reading data from the file element by element.
Is there a faster way to read data from this file?
Best Answer