I am trying to run from Python a script in Matlab that run a Simulink mode, save a variable as Power.mat and read this variable in Python. I am using Python 2.7 on Windows.
I've tried to use the library hdf5storage to read the file:
import hdf5storage
x=hdf5storage.loadmat('Power.mat','r')
but I get the error attached.
Which could be the problem? I have also tried with the library h5py but I get the same error. The file .mat seems not to be corrupted since I open it without any problem in Matlab.
Thanks!