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

조회 수: 1 (최근 30일)
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.

답변 (1개)

Ahmet Cecen
Ahmet Cecen 2018년 3월 3일
Just use:
list = dir('*.nrrd')

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by