方案1:
from scipy.io import loadmat
data = loadmat('/path/to/mat');
方案2:
import h5py
data=h5py.File('/path/to/mat')