Mathieu Dubois
2013-02-22 15:44:31 UTC
Hello,
I wanted to use Octave to read a .mat file. The file format is version
7.3 i.e. HDF5 which I think is correct (I have opened it using python).
To my surprise, octave don't seem able to read it:
octave:3> load nyu_depth_v2_labeled.mat
warning: load: can't read `keys' (unknown datatype)
HDF5-DIAG: Error detected in HDF5 (1.8.4-patch1) thread 140297714808640:
#000: ../../../src/H5Dio.c line 174 in H5Dread(): can't read data
major: Dataset
minor: Read failed
<lot of other error messages>
octave:4> load -v7 nyu_depth_v2_labeled.mat
warning: load: found version 2 binary MAT file, but only prepared for version 1
error: load: invalid element type = 0
error: load: trouble reading binary file `nyu_depth_v2_labeled.mat'
Is there any way to read that type of files?
I'm using Octave 3.6.1 under Ubuntu 12.04.
Thanks in advance,
Mathieu
I wanted to use Octave to read a .mat file. The file format is version
7.3 i.e. HDF5 which I think is correct (I have opened it using python).
To my surprise, octave don't seem able to read it:
octave:3> load nyu_depth_v2_labeled.mat
warning: load: can't read `keys' (unknown datatype)
HDF5-DIAG: Error detected in HDF5 (1.8.4-patch1) thread 140297714808640:
#000: ../../../src/H5Dio.c line 174 in H5Dread(): can't read data
major: Dataset
minor: Read failed
<lot of other error messages>
octave:4> load -v7 nyu_depth_v2_labeled.mat
warning: load: found version 2 binary MAT file, but only prepared for version 1
error: load: invalid element type = 0
error: load: trouble reading binary file `nyu_depth_v2_labeled.mat'
Is there any way to read that type of files?
I'm using Octave 3.6.1 under Ubuntu 12.04.
Thanks in advance,
Mathieu