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

38.46% Correct | 61.54% Incorrect
Last solution submitted on Mar 27, 2015

Solution Comments

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!