用MATLAB打开.npy文件时,先用python将.npy转换成.mat再用MATLAB读取
MATLAB
.npy
python
.mat
from scipy import io import numpy as np res_data= np.load(file="res.npy") io.savemat('res.mat', {'gene_features': res_data})
京公网安备 11010502049817号