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
Solution Comments
Show comments
Loading...
Problem Recent Solvers8
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6847 Solvers
-
21798 Solvers
-
Remove the two elements next to NaN value
713 Solvers
-
306 Solvers
-
Who has power to do everything in this world?
491 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!
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.