dimikay1
Civil/Environmental
- Mar 30, 2013
- 4
My question is pretty simple however I haven't figured out yet.
So, I have a folder with 10,000 data files (*.dat) and I try to import them using a code because it is obvious I cannot import them one by one.
In that case the names of the files are in the form "filename_number"
The files' number should be the key in order to import them using a loop.
I used the function A=importdata('filename') to import one file. However, I need a loop in order to import all of them at once so as to create a vector of the one column I need from each file!
Any help???
So, I have a folder with 10,000 data files (*.dat) and I try to import them using a code because it is obvious I cannot import them one by one.
In that case the names of the files are in the form "filename_number"
The files' number should be the key in order to import them using a loop.
I used the function A=importdata('filename') to import one file. However, I need a loop in order to import all of them at once so as to create a vector of the one column I need from each file!
Any help???