I have a CSV file with 18 columns and 27,915 rows called 'SenoiaRWIS.csv'. I have attached a CSV file containing the first 5 lines of SenoiaRWIS for reference.
I have tried to read in each column with a separately specified format using textscan as follows:
fid = fopen('SenoiaRWIS.csv'); data = textscan(fid,%f%s%s%f%f%f%f%f%f%f%f%f%f%s%f%f%f%s, 'Delimiter', ',');
However, this has returned a 1×18 cell where each cell contains just 2 entries, the entries being those of the first two rows of the file. Does anyone have any idea why it stops at the second row?
Thank you for your help
Best Answer