import h5py
datamat = h5py.File(path_hul, 'r')
data = datamat['data']
import scipy.io as scio
datamat= scio.loadmat('test.mat')
print(type(mat_data)) # 输出字典类型数据
print(mat_data) # 输出字典所有数据
import hdf5storage
datamat = hdf5storage.loadmat('a.mat')
data = datamat['data']