reading v 7.3 mat file in python

后端 未结 8 1775
情书的邮戳
情书的邮戳 2020-12-02 09:16

I am trying to read a matlab file with the following code

import scipy.io
mat = scipy.io.loadmat(\'test.mat\')

and it gives me the followin

8条回答
  •  日久生厌
    2020-12-02 09:33

    Try using h5py module

    import h5py
    with h5py.File('test.mat', 'r') as f:
        f.keys()
    

提交回复
热议问题