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