octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #30289] save/load does not restore a variable


From: Olaf Till
Subject: [Octave-bug-tracker] [bug #30289] save/load does not restore a variable created with ones()
Date: Tue, 29 Jun 2010 08:07:36 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.0.19) Gecko/2010033100 Iceweasel/3.0.6 (Debian-3.0.6-3)

URL:
  <http://savannah.gnu.org/bugs/?30289>

                 Summary: save/load does not restore a variable created with
ones()
                 Project: GNU Octave
            Submitted by: i7tiol
            Submitted on: Tue 29 Jun 2010 08:07:35 AM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.3.51
        Operating System: GNU/Linux

    _______________________________________________________

Details:

repeat by:

octave:1> a = ones (1, 2)
a =

   1   1

octave:2> save ("test1", "a")
octave:3> save ("-binary", "test2", "a")
octave:4> clear a
octave:5> load test1
octave:6> a
a = 
octave:7> load test2
octave:8> a
a = 
octave:9> 

The file "test1" contains:

# Created by Octave 3.3.51, Tue Jun 29 10:02:15 2010 MEST <address@hidden>
# name: a
# type: range
# base, limit, increment
1 1 0

Octave-3.2.4 behaves the same way. Is there a fix or work-around for
Octave-3.2.4?





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30289>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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