deprecating support for HDF5 files in load/save
Jaroslav Hajek
highegg at gmail.com
Thu Mar 5 11:02:24 CST 2009
On Thu, Mar 5, 2009 at 5:00 PM, John W. Eaton <jwe at octave.org> wrote:
> On 5-Mar-2009, Jaroslav Hajek wrote:
>
> | On Thu, Mar 5, 2009 at 9:35 AM, John W. Eaton <jwe at octave.org> wrote:
> | > I'd like for us to consider deprecating support for HDF5 files in the
> | > load and save functions, at least as it is currently implemented.
> | > Some reasons for this are
> | >
> | > * Saving in the HDF5 format does not currently work for diagonal or
> | > permutation matrices.
> | >
> |
> | They're converted to full matrices when saved.
>
> Is that working? Here's what I see:
>
> octave:1> x = diag ([1,2,3]);
> octave:2> save -hdf5 foo.mat x
> error: octave_base_value::save_binary(): wrong type argument `diagonal matrix'
> error: save: error while writing `x' to hdf5 file
> warning: save: no such variable `x'
>
Hmmm. I thought this worked already. I'll check out what's wrong.
--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
More information about the Octave-maintainers
mailing list