open and read a txt file
22 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi!
%
for i=20:80
fileID = fopen(['Data_' num2str(i) '.txt']);
data{i,1} = textscan(fileID, '%s %s %s %d %d %d %d %f %f ');
fclose(fileID);
...
....
end
how could i skip reading some files. for exwmple i=22 and i=79? thank you
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Low-Level File I/O finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!