[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: deprecating support for HDF5 files in load/save
From: |
John W. Eaton |
Subject: |
Re: deprecating support for HDF5 files in load/save |
Date: |
Thu, 5 Mar 2009 11:00:00 -0500 |
On 5-Mar-2009, Jaroslav Hajek wrote:
| On Thu, Mar 5, 2009 at 9:35 AM, John W. Eaton <address@hidden> 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'
jwe