1

Following this question other question I got to the next question.

I have 40 matlab files and I'm implementing a general solution for extracting that info, as each of them has a different internal organization. As soon as I have it I will post here.

But my question is: the solutions given by gg349 and mergen gets me some objects like this:

<scipy.io.matlab.mio5_params.mat_struct object at 0x7f368cff3f90>,

And I don't know how to deal with those, could anyone help?

Community
  • 1
  • 1
ricoms
  • 952
  • 15
  • 22

1 Answers1

1

It is the equivalent of Matlab struct in python. You can access the elements by dot, like object.value. An example here. Complex Matlab struct mat file read by python

Panfeng Li
  • 3,321
  • 3
  • 26
  • 34