files with specific extension

16 Ansichten (letzte 30 Tage)
Baba
Baba am 30 Mai 2012
how do i find all files in a directory with a specific extension?

Akzeptierte Antwort

Thomas
Thomas am 30 Mai 2012
use the dir command
to find all files in a directory with the .m extensison us
dir('*.m')
for jpg
dir('*.jpg')
etc...

Weitere Antworten (0)

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!

Translated by