As Shai and CTZStef suggested, when I have to open multiple files with similar names in MATLAB, I have to do
for k=1:size(fls)
fileName = strcat('int_',num2str(k),'.ASC');
A(k) = importdata(fileName, ' ', 9);
x(k) = A(k).data(:,1);
y(k) = A(k).data(:,2);
end
or also
fls = dir('int_00_*.ASC');
for fi=1:numel(fls)
A(fi) = importdata(fls(fi).name, ' ',9);
end
Well, the problem is that none of them works. What should I do? Is it a problem with my MATLAB version?