To choose specific files from the folder
Show older comments
cc_8694=readseizmo('C:\269_Sept26\8670_W8694\W8694_W8718_269_Sept26_0700_0800\STACKS\01\001_DAYS\EE\WB_W8694*\*')
In the above code line i use *\* to select all the stations named "WB_W8694" in a folder. But in that folder i have many stations by different names, how can i select the different stations at the same time? any special wildcard characters?
stations are seismic data sensors
4 Comments
Chetan Bhavsar
on 26 Jul 2023
Can you please explain nature or unique identity of specific files ?
Muhammad
on 26 Jul 2023
Walter Roberson
on 26 Jul 2023
readseizmo appears to be the third-party https://github.com/g2e/seizmo/blob/master/rw/readseizmo.m which accepts * wild-card characters
Image Analyst
on 27 Jul 2023
@Walter Roberson but does it accept wildcards in the folder name? And simultaneously with wildcards in the filename?
Answers (1)
Image Analyst
on 26 Jul 2023
0 votes
See the FAQ for code snippets you can adapt:
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!