I am trying to read a CSV file in matlab. I just want to read the second column, but the code below outputs everything to a CSV file. What parameters or functions should I make so that it reads only the second column
FILENAME = 'C:\Users\Desktop\Results.csv'; fid = fopen(FILENAME, 'rt'); a = textscan(fid, '%s', 'HeaderLines',1,'Delimiter',','); fclose(fid); celldisp(a)
source share