help-octave
[Top][All Lists]
Advanced

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

controling warnings in 2.9.6


From: John W. Eaton
Subject: controling warnings in 2.9.6
Date: Tue, 11 Jul 2006 01:19:11 -0400

On 10-Jul-2006, Tom Holroyd (NIH/NIMH) [E] wrote:

| With recent Octaves I get lots more warnings than I used to.
| 
| Where is the information about turning various warnings on and off?

The list of known warning identifiers is described by

  help warning_ids

| I put
|       warning("off", "all");
| in my .octaverc, but I still get warnings such as:
| 
| warning: single quote delimited string ...
| warning: single index used for N-d array
| warning: division by zero
| warning: resizing object with row index = 1 out of bounds
| warning: potential Matlab compatibility problem: # used as comment character

Hmm.  I don't see this problem.  What does

  warning

tell you?  With warning ("off", "all") in my .octaverc, I see

  octave2.9:1> warning
  ans =
  {
    identifier = all
    state = off
  }

just after starting Octave.

jwe


reply via email to

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