I'm trying to read numbers in a text file line by line. Each line in the file is like this:
(563,478),(630,573),1
I tried the command below but it didn't work:
textscan(f1, '%d%d%d%d%d', 'delimiter', ',');
How can I skip the ")" and "("? I want to read only the numbers.
Here is one of the text files. (the red button)