Path: news.mathworks.com!not-for-mail
From: "Sadik " <sadik.hava@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Getting line numbers for errors in cell mode
Date: Sat, 23 May 2009 17:19:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 8
Message-ID: <gv9b65$7le$1@fred.mathworks.com>
References: <gv7066$43g$1@fred.mathworks.com>
Reply-To: "Sadik " <sadik.hava@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1243099141 7854 172.30.248.37 (23 May 2009 17:19:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 23 May 2009 17:19:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1666517
Xref: news.mathworks.com comp.soft-sys.matlab:542041


Have you typed 

dbstop if error

in the command window? It will take you directly to the line in the case of an error as if you were in debug mode and you can observe the variable(s) causing the problem.

"Yaroslav Bulatov" <yaroslavvb@gmail.com> wrote in message <gv7066$43g$1@fred.mathworks.com>...
> When I get an error on an evaluation in cell mode (using %%), instead of line numbers I get ???, even if the file is saved on disk. Is there any way to get those line numbers to show?