loading .mat and .m files with loadmat in Python

后端 未结 4 468
时光说笑
时光说笑 2021-01-03 00:33

I am currently taking a Neural Network course, and I am trying to load a .mat file from Python using scipy.io.loadmat(filename), but I keep getting

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-03 01:27

    You can use MATLAB Engine API to run .m files and MATLAB functions. it can also load .mat files as well, but could be a bit slow. https://www.mathworks.com/help/matlab/matlab-engine-for-python.html

提交回复
热议问题