Read .mat files in Python

后端 未结 8 1737
时光说笑
时光说笑 2020-11-22 09:23

Is it possible to read binary MATLAB .mat files in Python?

I\'ve seen that SciPy has alleged support for reading .mat files, but I\'m unsuccessful with it. I install

8条回答
  •  萌比男神i
    2020-11-22 09:43

    An import is required, import scipy.io...

    import scipy.io
    mat = scipy.io.loadmat('file.mat')
    

提交回复
热议问题