Load data from a list of ascii files

2 visualizaciones (últimos 30 días)
Isma_gp
Isma_gp el 23 de Feb. de 2017
Comentada: Rik el 23 de Feb. de 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 comentario
Rik
Rik el 23 de Feb. de 2017
What do you have already tried? You could try a for-loop over all elements of fileList.

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by