MATLAB: Cannot Read data from text file

text file

All I want to do is read the comma separated values from the text file and skip the first header row. Can somebody please tell me what is wrong with my code? I have attached the text file. Thanks!
FileID = fopen('test.txt','r');
C = textscan(FileID,'%f','HeaderLines',1,'Delimiter',',');
fclose(FileID);

Best Answer

FileID = fopen('data.txt','r');
C = textscan(FileID,'%s %f %f','HeaderLines',1,'Delimiter',',');
fclose(FileID);
C{1}
C{2}
C{3}