python和matlab无缝对接数据 scipy是桥梁 *.mat

  • scipy是桥梁

Python 读Mat

neuTracesDic = scio.loadmat(tracePath)
neuTraces = neuTracesDic['trace']

Python写mat

import numpy as np
import h5py
import scipy.io as scio
scio.savemat('CCC.mat', PCHRCS_Vessel)

posted @ 2019-12-21 13:30  bH1pJ  阅读(19)  评论(0编辑  收藏  举报