Checking the existence of any file with a specific extension in a directory
52 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
TP Das
am 11 Mär. 2015
Bearbeitet: Stephen23
am 12 Mär. 2015
I require to check whether any file exists with a specific extension in a given folder. Let us say, I look for whether any .pdf file is present in my working directory. MATLAB does not accept wildcard commands like
exist('*.m')
Any solution?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu File Operations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!