Transfering Matlab scripts into python

Viewed 109

I have a number of Matlab functions and scripts which have been developed over a couple of years. I want to continue using these scripts, but can't afford MatLab. That's why I would like to transfer them to python. Is there an easy way to do this? I am a beginner in Python and I have Spyder 3.7 installed on my computer.

Thank you!

1 Answers

You can try Octave - an open source free Matlab equivalent. If you can run your functions and scripts in Octave, then you can call them from within Python using oct2py package in Python.

Look e.g. here.

By that, you wouldn't have to translate any code into another language (like Python), which would mean you could introduce new bugs which then you have to debug etc etc ...

Related