dir results are not fitting the wildcard

조회 수: 2 (최근 30일)
Norbert
Norbert 2024년 5월 3일
댓글: Norbert 2024년 5월 6일
Dear all,
thanks in advance for reading this question which seems kind of dumb to me but i need a solution for this issue. a workaround would be easy but not nice.
i use the dir command with a wildcard to find files in a folder but the returned file names do not fit the wildcard:
dir('O:\FIP\2015\WW007\IGB1M\2014_12_23_10_36\*RGB*.cr2')
2014_12_23_FWW0070150.CR2 2014_12_23_FWW0070156.CR2
2014_12_23_FWW0070151.CR2 2014_12_23_FWW0070157.CR2
2014_12_23_FWW0070152.CR2 2014_12_23_FWW0070158.CR2
2014_12_23_FWW0070153.CR2 2014_12_23_FWW0070159.CR2
2014_12_23_FWW0070154.CR2
2014_12_23_FWW0070155.CR2
I use matlab 2022b and would be happy for a fix.
many thanks
  댓글 수: 6
Mathieu NOE
Mathieu NOE 2024년 5월 6일
ok
glad you have found a work around
all the best
Norbert
Norbert 2024년 5월 6일
thanks a lot for your help

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by