I have code in matlab whose results I would like to use in python code (as a matrix or as a .dat file). Could anyone tell me how this could be done?
NumPy and SciPy can read and write MATLAB .mat files directly using scipy.io.loadmat and scipy.io.savemat.
scipy.io.loadmat
scipy.io.savemat
1.4m articles
1.4m replys
5 comments
57.0k users