How can i access and plot all variables from .mat file, without specifying keys of variables in code?
How can i "parsing" .mat file?
import scipy.io
mat = scipy.io.loadmat('D:\\PROJECT\\mat files\\test.mat')
from pylab import *
print mat["TEMPERATURE_V1_Max"]
time = []
val = []
for i in range(0,len(mat["TEMPERATURE_V1_Max"])):
time.append(mat["TEMPERATURE_V1_Max"][i][0])
val.append(mat["TEMPERATURE_V1_Max"][i][1])
plot(time, val)
##savefig('D:\PROJECT\mat files\test' + '.png')
show()
The .mat file can be found here.