how to select multiple files with similar extension

4 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su File Operations in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by