Path: news.mathworks.com!not-for-mail
From: "Alan B" <monguin61@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: cell mode execution
Date: Fri, 3 Apr 2009 23:01:02 +0000 (UTC)
Organization: UT
Lines: 6
Message-ID: <gr64fe$s88$1@fred.mathworks.com>
References: <gr5c91$4km$1@fred.mathworks.com> <gr5d70$5fc$1@fred.mathworks.com>
Reply-To: "Alan B" <monguin61@yahoo.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1238799662 28936 172.30.248.35 (3 Apr 2009 23:01:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 3 Apr 2009 23:01:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1446885
Xref: news.mathworks.com comp.soft-sys.matlab:530203


"Matthew Simoneau" <matthew@mathworks.com> wrote in message <gr5d70$5fc$1@fred.mathworks.com>...
> Yes, this message isn't very helpful.  I think you see it when there is an invalid syntax, i.e. a parse error.  If you hit "F5" to run the whole file, does a better error message print to the command window?

Yes I see a helpful message when I use F5. I usually just end up converting the script to a function, which also allows me to see helpful messages. Sometimes I want the added functionality of cell mode though - is there no way to combine cell mode with meaningful error messages?

Thanks