Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: cleaning up MATLAB path list
Date: Sat, 2 Mar 2013 23:58:05 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 17
Message-ID: <kgu3md$1io$1@newscl01ah.mathworks.com>
References: <hmihb3$gek$1@fred.mathworks.com> <hmioqg$oa4$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-01-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1362268685 1624 172.30.248.46 (2 Mar 2013 23:58:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 2 Mar 2013 23:58:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1742706
Xref: news.mathworks.com comp.soft-sys.matlab:790184

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