matlab array to numpy array

I want to convert the matlab array of dimension 60000x784 to numpy array to use in python. Is there anyway I can do that?

回答(1 个)

ES
ES 2017-3-15

0 个投票

write the numpy array into mat file and load it into MATLAB.

2 个评论

I have the .mat file. I want the variables in .mat store as separate variable in numpy array.
Steven comments to J Smith:
This answer could be better than a 1 line sentence that anyone could figure out. It doesn't even include code

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Call Python from MATLAB 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by