Need a code to run through subfolders and store information

8 visualizzazioni (ultimi 30 giorni)
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 Commenti
Paolo
Paolo il 24 Mag 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 il 24 Mag 2018
A simple google will give you many links. This question is discussed to death in this forum.

Accedi per commentare.

Risposte (1)

ES
ES il 24 Mag 2018
A good example at the end of this post!

Categorie

Scopri di più su File Operations in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by