How to open files with different names in a loop?
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MC3105
am 20 Okt. 2014
Kommentiert: Neamah Alskeini
am 21 Dez. 2017
Hello everyone!
I have looked up a solution for my problem on the internet, but since I am still so new to matlab I have problems to find a solution that really works for my problem... your help would therefore be greatly appreciated!
I want to create a loop that loads different files with similar names in each loop iteration. The names of my data are for example: data_ID_200.m and data_ID_304.m. After loading I want to use the data in a program I have already written. How can I write a code for this loop??
Do I have to put all the files that are supposed to be uploaded in a separate directory? Or do they go into the same directory where my main code is saved?
Thans a lot!!
1 Kommentar
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu File Operations 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!