how to select multiple files with similar extension

4 Ansichten (letzte 30 Tage)
MAHMOUD ALZIOUD
MAHMOUD ALZIOUD am 12 Okt. 2017
Kommentiert: MAHMOUD ALZIOUD am 12 Okt. 2017
Hello Guys, I have a folder that has a lot of files, how can i ask MATLAB to select just the files with the extension(07) to be run in MATLAB?

Akzeptierte Antwort

Jonathan Chin
Jonathan Chin am 12 Okt. 2017
try looking at the following function dir
path =pwd;
extension = '.07'
rtnFiles=dir(fullfile(path,['*' extension]))

Weitere Antworten (0)

Kategorien

Mehr zu File Operations finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by