From: Daphne on

(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?

Thanks!
Daphne
From: Jan Simon on
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