Need a code to run through subfolders and store information

1 view (last 30 days)
I have a folder with lab data, containing ten subfolders, and each one with ten .csv files. I was able to write a code to analyze the ten files within the subfolder, store in a table and then plot data of seven columns, using a for loop. But now I need to store the table of each subfolder, and plot (in a single plot area) ten lines (one for each subfolder). How can I do that?
  2 Comments
Paolo
Paolo on 24 May 2018
But now I need to store the table of each subfolder
Since each subfolder contains ten .csv files, how do you obtain one table only? Are you merging the ten files?
KSSV
KSSV on 24 May 2018
A simple google will give you many links. This question is discussed to death in this forum.

Sign in to comment.

Answers (1)

ES
ES on 24 May 2018
A good example at the end of this post!

Tags

Community Treasure Hunt

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

Start Hunting!