help-octave
[Top][All Lists]
Advanced

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

Warnings suppression in save commands


From: John W. Eaton
Subject: Warnings suppression in save commands
Date: Fri, 23 Sep 2005 00:01:43 -0400

On 22-Sep-2005, address@hidden wrote:

| Hi all.
| I have a problem with the "save" command in Octave v2.1.50 under Linux.
| I'm launching Octave with the "silent" option activated, since I need to
| work in batch mode and I want no outputs to screen
| If I try to save a variable whose value is NaN, Octave issues the
| following warning message:
| 
| "warning: save: Inf or NaN values may not be reloadable"
| 
| Ok, now that I know it (and I know that in my case I have no troubles in
| reloading the variables),
| how can I get Octave not to issue this message every time I run my
| script?
| 
| I tried to:
| - read Octave user manual;
| - search in the archive of this mailing list
| - ask my colleagues
| - ... what else...
| 
| but I could't manage to find my way out.

2.1.50 is quite old.  I think this problem is now fixed, so there is
no warning.

If for some reason you don't think you can upgrade, you could try
using a binary format for save since those can save and reload NaN and
Inf values, even in older versions of Octave.

jwe



-------------------------------------------------------------
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]