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

New to MATLAB?

Problem 1329. dir with recursive subdirectory search

Created by Alex P.

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).


Problem Group

Solution Statistics

5 correct solutions 8 incorrect solutions
Last solution submitted on Mar 27, 2015

Solution Comments