Home Cannot Load .mat file containing a struct in python 3x
Reply: 0

Cannot Load .mat file containing a struct in python 3x

user658
1#
user658 Published in April 24, 2018, 6:17 am

I have a .mat file which contains a struct and want to load that struct in Python I am trying with scipy and loadmat...

import scipy.io as sio
file = sio.loadmat('Data.mat')

But when I run it I get the following error:

MatReadWarning: Duplicate variable name "None" in stream - replacing previous with new Consider mio5.varmats_from_mat to split file into single variable files matfile_dict = MR.get_variables(variable_names)

Does anyone had a similar case or might have an idea on what I am doing wrong?

note: I am using Python3x and Scipy v1.0.0

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.310797 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO