Simpan hasil dalam MATLAB formatted data


Install paket

sudo apt-get install python3-scipy

Contoh penggunaan

import scipy.io
a = 1
b = 1
c = 1
save_to_mat = {'X':a,'Y':b,'Z':c}
scipy.io.savemat('hasil.mat',save_to_mat)