Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/matlab/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在不知道数据集名称的情况下读取matlab中的.h5文件_Matlab_Hdfs - Fatal编程技术网

在不知道数据集名称的情况下读取matlab中的.h5文件

在不知道数据集名称的情况下读取matlab中的.h5文件,matlab,hdfs,Matlab,Hdfs,我有一个.h5文件,我可以用python把它读作pandas.read_pickle('X.h5','r')。现在我想在MATLAB-2014a中加载它,但我不知道数据集的名称。 我试图获取信息,但出现错误 info=h5info('X.h5'); Error using h5infoc The HDF5 library encountered an error and produced the following stack trace information: H5F_locate_s

我有一个.h5文件,我可以用python把它读作pandas.read_pickle('X.h5','r')。现在我想在MATLAB-2014a中加载它,但我不知道数据集的名称。 我试图获取信息,但出现错误

info=h5info('X.h5');

Error using h5infoc
The HDF5 library encountered an error and produced the following stack trace 
information:

H5F_locate_signature    unable to find a valid file signature
H5F_super_read          unable to find file signature
H5F_open                unable to read superblock
H5Fopen                 unable to open file

有人能在这方面帮忙吗

要快速查看HDF5文件的内容,请使用h5disp函数

使用此函数可以找到有关数据集的更多信息。
查看更多信息。

它也不起作用。我得到的错误与问题中提到的相同
h5disp('X.h5')