Load data from a list of ascii files

2 views (last 30 days)
Isma_gp
Isma_gp on 23 Feb 2017
Commented: Rik on 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 Comment
Rik
Rik on 23 Feb 2017
What do you have already tried? You could try a for-loop over all elements of fileList.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!