Load data from a list of ascii files

1 Ansicht (letzte 30 Tage)
Isma_gp
Isma_gp am 23 Feb. 2017
Kommentiert: Rik am 23 Feb. 2017
Hi, I have a folder with 7 subfolders. The 7 subfolders contain 30 subsubfolders with files I need to read. I have a cell with the locations of all the files I would like to read: fileList (420x1cell)attached The files are located in different folders (as per fileList) but have the same names (elmfor and elmtra), and each one contains 36 columns of data. I need to load the data into a structure. Each level of the structure would correspond to the different folders i.e. Structure with 7 levels, each one with 30 levels containing the loaded data from the ascii files.
Can you help with that? Thank you
  1 Kommentar
Rik
Rik am 23 Feb. 2017
What do you have already tried? You could try a for-loop over all elements of fileList.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by