So i wanted a dynamic way to read 3 files from these folders with extensions .w1 , .w2 and .hdr into variables.
조회 수: 1 (최근 30일)
이전 댓글 표시
답변 (1개)
Abhisek Pradhan
2019년 8월 27일
One possible way is to store all the targeted folders inside the directory in a variable using dir function. Loop in each folder using the variable to get the desired files.
Refer the following link for more help:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!