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

1 回表示 (過去 30 日間)
Steven Lewis
Steven Lewis 2018 年 3 月 3 日
回答済み: Ahmet Cecen 2018 年 3 月 3 日
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 Center および File ExchangeFile Operations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by