I was able to find a fix the author mentioned in the ratings section of the link Jan provided. The reason for the failure and its fix is as follows:
"They changed the behavior of dir again (slightly). You can fix the problem just by changing one line. Change the line (on or near line 186)
dir_picks = dir(' '); % Create empty directory structure.
to be
dir_picks = repmat(dir(char(127)),0,1); % Create empty directory structure.
and that will work forever (I hope!)."
I can confirm that this fix worked for me.