Automatically change subfolders within a directory
Show older comments
I need to some code that will automatically run through all the folders in a directory, running the code for all the files within each folder. I am not sure how to automatically change folders within the directory. All the folders begin with 2011 but the next 16 numbers vary randomly.
Thanks
Answers (1)
Fangjun Jiang
on 29 Jun 2011
help cd
help dir
Categories
Find more on File Operations 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!