Using dir with multiple wildcards for directories
조회 수: 9 (최근 30일)
이전 댓글 표시
I'd like to be able to use dir to list all files in the grandchildren directories of my cwd, as in
dir('*/*')
As far as I can tell, this is impossible, is there a recommended workaround for this?
Thanks, Leo
댓글 수: 0
채택된 답변
Geoff Hayes
2014년 11월 20일
Leo - look in the File Exchange for a recursive directory listing submission. One such example is rdir.
추가 답변 (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!