save/load anonymous function loses empty string in returned cell-array

Olaf Till olaf.till at uni-jena.de
Thu Apr 3 10:46:29 CDT 2008


Octave version: 3.0 (on Debian stable, from a package in unstable)

If an anonymous function which returns a cell-array containing an
empty string is saved and reloaded, the entry with the empty string in
the cell-array to be returned is lost:

octave3.0:39> a = @ () {""}
a =

@() {}

octave3.0:40> save -binary test.dat a
octave3.0:41> load test.dat
octave3.0:42> a 
a =

@() {}(0x0)


octave3.0:43> 

Regards, Olaf


More information about the Bug-octave mailing list