[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
octave-4.4.2 fails to load created by it empty text file - binary OK
From: |
Sergei Steshenko |
Subject: |
octave-4.4.2 fails to load created by it empty text file - binary OK |
Date: |
Sat, 27 Apr 2019 03:30:36 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Hello All,
the following sequence:
"
octave:1> foo = []
foo = [](0x0)
octave:2> save('-ascii', 'foo.txt', 'foo')
octave:3> load('-ascii', 'foo.txt')
error: load: file 'foo.txt' seems to be empty!
octave:3> version
ans = 4.2.2
"
explains is it all. Is it the way it is supposed to be ?
With binary:
"
octave:4> foo = []
foo = [](0x0)
octave:5> save('-binary', 'foo.bin', 'foo')
octave:6> load('-binary', 'foo.bin')
octave:7> foo
foo = [](0x0)
octave:8>
"
works as expected.
--Sergei.
- octave-4.4.2 fails to load created by it empty text file - binary OK,
Sergei Steshenko <=