Iterate through a dir structure to pull out only certain files into another dir structure.
显示 更早的评论
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
2018-3-3
Just use:
list = dir('*.nrrd')
类别
在 帮助中心 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!