Save file .mat from python

Viewed 15

I would like to save the value from python to Matlab in file .mat by scipy.savemat. My code in python: scipy.savemat("filename",vars) But I got the error that "savemat() takes from 2 to 7 positional arguments but 13 were given". I have 13 sets of value need to save. Please instruct me on how could save all of it in one file. Additionally, I noticed that the value will save as a row on the Matlab file, if I would like to save it as columns how could I modify the code? Thank you all.

0 Answers
Related