Open files in loop and perform operations
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Abhiram B R
am 11 Mai 2021
Beantwortet: Vineet Joshi
am 19 Mai 2021
I have many files of the type data_1_9.txt, data_1_15.txt, data_2_9.txt, data_2_15.txt, data_3_9.txt, data_3_15.txt, .........data_200_9.txt, data_200_15.txt.
I need to open two files at a time, perform some operations and then save it to a file.Something like this
load data_1_9.txt, data_1_15.txt
perform some operations
save it as something like data_1.txt
similarly for all 200 files
How can i write a for loop for this operation
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Manage Products 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!