MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   在Python中读取.mat文件 (https://www.labfans.com/bbs/showthread.php?t=22673)

poster 2019-12-10 16:49

在Python中读取.mat文件
 
是否可以用Python读取二进制MATLAB .mat文件?

我已经看到SciPy声称支持读取.mat文件,但是我没有成功。我安装了SciPy 0.7.0版,但找不到loadmat()方法。


回答:
需要import scipy.io , import scipy.io ...

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

[url=https://stackoverflow.com/questions/874461]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 23:35

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.