I have variable A which contains 2 rows string with the same number of columns as follows :
0 -> 2 1.000000 1.000200 A-MPDU 1.000000 1.000100 SUCCESS 1.000100 1.000200 FAIL NO
0 NO NaN 1.000270 1.000570 BACKOFF NaN NaN NO NaN NaN NO NO
But when I try to use this command :
C = textscan(input_str,'%d %s %d %f %f %s %f %f %s %f %f %s %s');
It said "Error using textscan. First input must be of type double or string". When the data contains only one row, there is no error. How to read those 2 lines correctly ?