Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How to create a loop in a main directory for each sub folders and do function for each file in sub directory?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have main directory named as 'Far Field Ground record sets'and 22 sub directory in it as shown below. In each sub directory I have bunch of files (I have shown files in first sub folder in the figure below) but I am interested in only 2 files (RSN953_NORTHR_MUL009.AT2 and RSN953_NORTHR_MUL279.AT2) in it. I want to do function for each file in each sub directory and again go for next directory and do the same for all 22 sub directory. Any suggestion is highly appreciated. Thank you.
<<
>>
댓글 수: 1
Geoff Hayes
2017년 1월 3일
Why duplicate your question? You have added more information here so why not update the other, http://www.mathworks.com/matlabcentral/answers/318931-how-to-extract-data-from-directory with similar information?
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!