Need a code to run through subfolders and store information

조회 수: 1 (최근 30일)
Paulo Victor de Freitas Lopes
Paulo Victor de Freitas Lopes 2018년 5월 23일
답변: ES 2018년 5월 24일
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
Paolo
Paolo 2018년 5월 24일
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 2018년 5월 24일
A simple google will give you many links. This question is discussed to death in this forum.

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

답변 (1개)

ES
ES 2018년 5월 24일
A good example at the end of this post!

카테고리

Help CenterFile Exchange에서 Argument Definitions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by