How can I run Python by getting values from Matlab

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 2K views
Nikhil N
Messages
80
Reaction score
2
I have a python script for which the input data are coming from Matlab. I have tried to use pymatlab, but it is failing. Can anyone suggest any other method?
 
Physics news on Phys.org
Scipy has a function to load Matlab mat files.

https://docs.scipy.org/doc/scipy/reference/tutorial/io.html
 
  • Like
Likes   Reactions: jedishrfu
Have Matlab write out a text file and have Python read it in.