How to find files with specified filenames within a folder?
247 次查看(过去 30 天)
显示 更早的评论
Hello. My problem is the following. I have downloaded tons of data from Intermagnet (I'm conducting research connected with magnetic obervatories). They produce one file every day for each observatory, so I have 80 observatories(=>80 folders) and 365 files in each of the folders. The matter is that the structure of every observatory folder can be totally different. Files can be sorted by months (into 12 subfolders) or can be sorted by other means or they can be not sorted at all. Still, I have to reach files regardless of their location within a folder. By that I mean:
aaa % this is an observatory folder
->aaa01 % - January folder
->IAGA2002 %Format of the files
->aaa01dmin.min %Here is the file, afterall
OR the structure can be like
aaa
->IAGA2002
->aaa01dmin.min
OR the structure can be different from this. How do I get the file, if I know that its name is aaa01dmin.min and it is located SOMEWHERE in aaa folder? I am looking forward to hearing from you.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!