Load data from a list of ascii files

조회 수: 2 (최근 30일)
Isma_gp
Isma_gp 2017년 2월 23일
댓글: Rik 2017년 2월 23일
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
Rik
Rik 2017년 2월 23일
What do you have already tried? You could try a for-loop over all elements of fileList.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Text Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by