Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: return indices
Date: Sun, 10 Oct 2010 20:02:04 +0000 (UTC)
Organization: Procter &#38; Gamble Co
Lines: 1
Message-ID: <i8t63r$mop$1@fred.mathworks.com>
References: <i8t188$oo3$1@fred.mathworks.com> <i8t541$lgl$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1286740924 23321 172.30.248.35 (10 Oct 2010 20:02:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 10 Oct 2010 20:02:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1343420
Xref: news.mathworks.com comp.soft-sys.matlab:677267

Looks like Roger found the same inconsistency as me, and solved it by putting the additional stuff on an additional row.  I suggest you go with his code - it is essentially what I was going after (until I hit the inconsistency), mine is just a bit more verbose while his is more compact.