[Top][All Lists]

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

Re: message ids for warnings and errors

From: John W. Eaton
Subject: Re: message ids for warnings and errors
Date: Wed, 7 Dec 2005 10:15:13 -0500

On  7-Dec-2005, Stefan van der Walt wrote:

| It's just as well.  I found a list by grepping through the MATLAB
| m-files (one that I obviously can't publish here) -- it contains more
| than 2000 warnings.  These include very specific warnings like
| MATLAB:cell2mat:NoInputs.
| I don't see any way we can implement all these, given that we're not
| allowed to look at the MATLAB source and the narrow scope they have.

I don't think it is necessary for us to have them all.  It is never an
error to use "warning off msgid", so it shouldn't matter whether we
actually have a warning with the given msgid.  But it would be nice if
we do the right thing for the warnings that we know about, and that
are common to both Octave and Matlab (divide by zero, for example).
And in those cases, it would also be nice to recognize the message ids
that Matlab uses, provided that doing so is not a lot of trouble.


reply via email to

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