Iterate through a dir structure to pull out only certain files into another dir structure.

1 visualización (últimos 30 días)
I am parsing a directory for a specific file type (.nrrd) and trying to pull them out in another structure list for iterating over. It's not much but I have attached what I have thus far.

Respuestas (1)

Ahmet Cecen
Ahmet Cecen el 3 de Mzo. de 2018
Just use:
list = dir('*.nrrd')

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