dir with recursive subdirectory search - MATLAB Cody - MATLAB Central

Problem 1329. dir with recursive subdirectory search

Difficulty:Rate

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

28.0% Correct | 72.0% Incorrect
Last Solution submitted on Apr 06, 2023

Problem Comments

Solution Comments

Show comments
Join Cody Contest 2025 — Have Fun and Win Prizes!
...
We’re excited to invite you to Cody Contest 2025! 🎉 Pick a team,...
Dive Into Hands-On Learning at MATLAB EXPO 2025 – Register Now!
Get ready to roll up your sleeves at MATLAB EXPO 2025 –...
0

Problem Recent Solvers7

Suggested Problems

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!