Path: news.mathworks.com!not-for-mail
From: "Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de>
Newsgroups: comp.soft-sys.matlab
Subject: Re: cleaning up MATLAB path list
Date: Mon, 4 Mar 2013 15:20:08 +0000 (UTC)
Organization: Universit&#228;t Heidelberg
Lines: 8
Message-ID: <kh2e38$5cb$1@newscl01ah.mathworks.com>
References: <hmihb3$gek$1@fred.mathworks.com> <hmioqg$oa4$1@fred.mathworks.com>
Reply-To: "Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de>
NNTP-Posting-Host: www-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1362410408 5515 172.30.248.37 (4 Mar 2013 15:20:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 4 Mar 2013 15:20:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 869888
Xref: news.mathworks.com comp.soft-sys.matlab:790269

Hi,

I forgot the index:

>     valid = exist(C{iC}, 'dir');
       valid(iC) = exist(C{iC}, 'dir');
 
Good luck, Jan