read excel files from different directories
조회 수: 4 (최근 30일)
이전 댓글 표시
Hello,
I have a directory (named 'data') with subdirectories or different names (named 'bol', 'acro' and 'platin')- each of these subdirectories have one or two subdirectories (named 'up' and/or 'down') and then there are excel files that I have to read and modified. How can I create a Matlab code to be able to get to these excel files without moving them to the same directory. Thanks.
댓글 수: 0
채택된 답변
Arnaud Miege
2011년 5월 24일
Use a combination of dir, isdir, cd and pwd. For more details, see How can I process a sequence of files? on the MATLAB FAQ.
HTH,
Arnaud
댓글 수: 0
추가 답변 (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!