MATLAB: Using dir with multiple wildcards for directories

dir

I'd like to be able to use dir to list all files in the grandchildren directories of my cwd, as in
dir('*/*')
As far as I can tell, this is impossible, is there a recommended workaround for this?
Thanks, Leo

Best Answer

Leo - look in the File Exchange for a recursive directory listing submission. One such example is rdir.