Wow, Magic :)
I had given up, but was worth the wait. Thanks!
Daphne
"Phuong" wrote in message <kgu3md$1io$1@newscl01ah.mathworks.com>...
> "Jan Simon" wrote in message <hmioqg$oa4$1@fred.mathworks.com>...
> > Dear Daphne!
> >
> > > (Using ML 2007b) I have a long list of MATLAB pathways in the drop down list. Some refer to folders that no longer exist.
> > > Is there any way to clear that list?
> >
> > Get the list as cell string C. Then:
> > valid = true(size(C));
> > for iC = 1:numel(C)
> > valid = exist(C{iC}, 'dir');
> > end
> > CleanC = C(valid);
> >
> > Good luck, Jan
>
>
> Jan really complicated things. Just go to file --> preferences --> current directory... and do the thing you want.