help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wavread problems


From: Keith Goodman
Subject: Re: wavread problems
Date: Wed, 11 May 2005 14:31:34 -0700

On 5/11/05, John W. Eaton <address@hidden> wrote:
> Perhaps.  Can you suggest a way of doing that?

I only need one line number per function in the error traceback. That
is, I don't need to know that the line the error occured on is inside
a "for" loop that is itself inside an "if" statement, etc.

If that's the case for most users, then here's another alternative
that also prints (verbose mode?) a snippet of code as it does the
traceback:

ERROR: `fidy' undefined
/big/long/directory/path/myfunction.m
    Line 86 column 13:
    y = exp (sum (log (x), dim) / n);
/somewhat/shorter/path/slick.m
    Line ?? column ??:
    match = all( [ y(1:n-1,:) == y(2:n,:) ]' );
/random/matrix/theory/rmt.m
    Line 113 column 14:
    if ( nargin < 1 || nargin > 2 || (nargin...
/octave/money/back/gaurantee/fx.m
    Line 17 column 14:
    usage ("unique (x) or unique (x, 'rows')");



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]