What do you have already tried? You could try a for-loop over all elements of fileList.
Load data from a list of ascii files
1 次查看(过去 30 天)
显示 更早的评论
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
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 String Parsing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!