Problem 1329. dir with recursive subdirectory search
Write a function that performs a recursive file search. The input and output format can be identical to the dir function. The result should be a struct with the filenames in the field "name".
The first solution is from Kelly Kearney (2006).
Solution Stats
Problem Comments
-
1 Comment
The test suite needs to be updated, the number of files in each directory has changed. And this number should be evaluated dinamically. Use p files to hide your code if necessary.
Solution Comments
Show commentsProblem Recent Solvers7
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
47518 Solvers
-
Find state names that end with the letter A
1150 Solvers
-
Replace NaNs with the number that appears to its left in the row.
2918 Solvers
-
Check if number exists in vector
10687 Solvers
-
Circular Primes (based on Project Euler, problem 35)
469 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!