I have a .txt file with rows consisting of three elements, a word and two numbers, separated by commas.
I want to read the file and put the words in one variable, the first numbers in another, and the second numbers in another but I am having trouble with
This is what I have so far:
File = [LOCAL_DIR 'filetoread.txt'];
FID_File = fopen(File,'r');
[words,var1,var2] = textscan(File,'%s %f %f','Delimiter',',');
I can't seem to figure out how to use a delimiter with