open mat files in python code example
Example 1: python open mat file
import scipy.io
mat = scipy.io.loadmat('file.mat')
Example 2: open mat python
from mat4py import loadmat
data = loadmat('datafile.mat')
import scipy.io
mat = scipy.io.loadmat('file.mat')
from mat4py import loadmat
data = loadmat('datafile.mat')