Is there a version of dir that takes a path?
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to use `dir` to get some list of files. But to do this I need to cd into a directory which seems really dum. Is there not a version of dir that just takes a path? i.e. something like:
dir('~/cool/path/files_*')
this way I specify the path and only the files with that format without having to cd into places.
댓글 수: 2
답변 (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!