Borrar filtros
Borrar filtros

how to select multiple files with similar extension

2 visualizaciones (últimos 30 días)
MAHMOUD ALZIOUD
MAHMOUD ALZIOUD el 12 de Oct. de 2017
Comentada: MAHMOUD ALZIOUD el 12 de Oct. de 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?

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by