help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading Matlab v7.3 mat file


From: Mathieu Dubois
Subject: Re: Reading Matlab v7.3 mat file
Date: Sat, 23 Feb 2013 00:06:30 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

I have looked at the code in src/ls-hdf5.cc. The first problem(can't read 'keys') seems to appear at line 526. The value of the type_class_id is unknown: it is neither H5T_FLOAT, H5T_INTEGER, H5T_STRING, H5T_COMPOUND.

Printing it reveal that it has value 7 which according to HDF library headers (H5Tpublic.h) means: H5T_REFERENCE.

For information I have Ubuntu 12.04 on a 64 bits system. Lib HDF5 is version 1.8.4-patch1. I have compiled octave without any option to configure.

Mathieu

Le 22/02/2013 19:31, Mathieu Dubois a écrit :
Hi,

I have compiled and installed 3.6.4 and I have the same errors.
octave:1> 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 140677001172800:
   #000: ../../../src/H5Dio.c line 174 in H5Dread(): can't read data
     major: Dataset
     minor: Read failed
so on>

Any idea? A quick googling in the error message suggest that this may be 
related to variable length strings (the mat file contains cell arrays of 
strings).

Mathieu

----- Mail original -----
De: "Jordi Gutiérrez Hermoso" <address@hidden>
À: "vinukn" <address@hidden>
Cc: address@hidden
Envoyé: Vendredi 22 Février 2013 17:28:17
Objet: Re: Reading Matlab

On 22 February 2013 11:22, vinukn <address@hidden> wrote:
Did you tried in new versions of octave, ie 3.6.2, 3.6.3 or 3.7.1+
Don't try 3.7.1+ unless you're interested in participating in Octave
development. It's a development snapshot.

- Jordi G. H.
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave

_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave



reply via email to

[Prev in Thread] Current Thread [Next in Thread]