Importing multiple files using a loop
Ältere Kommentare anzeigen
Hello, i need to import multiple files and instead of writing them all down, i want to use a for loop for it.
These are the file names that i need to import, with 1 changing number in the file names.
A1=importdata('012_2023ef400t.txt');
A2=importdata('013_2023ef400t.txt');
A3=importdata('014_2023ef400t.txt');
this is the beginning, but i need to import 30 files.
Any suggestions?
Thank you!
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 28 Sep. 2023
0 Stimmen
See the FAQ document for code snippets:
Kategorien
Mehr zu Low-Level File I/O finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!