Clear Filters
Clear Filters

dir results are not fitting the wildcard

7 views (last 30 days)
Norbert
Norbert on 3 May 2024
Commented: Norbert on 6 May 2024
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 Comments
Mathieu NOE
Mathieu NOE on 6 May 2024
ok
glad you have found a work around
all the best

Sign in to comment.

Answers (0)

Categories

Find more on Search Path in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!