Translate matlab to python / numpy

I am looking for an automatic code translator for Matlab in Python. I downloaded and installed LiberMate , but it was not documented anywhere, and I could not get it to work.

Has anyone addressed this challenge before? Any advice is appreciated.

+5
source share
3 answers

There seems to be no other way but to do the translation manually. I suggest you have these pages in your browser:

http://www.mathworks.com/help/techdoc/ from: http://www.scipy.org/Numpy_Example_List_With_Doc

: http://www.scipy.org/NumPy_for_Matlab_Users : http://mathesaurus.sourceforge.net/matlab-numpy.html

+4

. .

[EDIT]

MATLAB Python, Mlabwrap, Python MATLAB-, MATLAB Python.

:

from mlabwrap import mlab
mlab.plot([1,2,3], '-o')
+9

PyClips

libreMate

  • cd/path/to/libermate-0.4
  • ./libermate.py/path/to/matlabfile.m

: -)

0

All Articles