Translate matlab to python/numpy [closed]
-
03-10-2019 - |
Question
I am looking for an automatic code translator for Matlab to Python. I downloaded and installed LiberMate but it is not documented anywhere and I wasn't able to make it work.
Has anybody dealt with this kind of challenge before? Any advice welcome.
Solution 2
i seems there is no other way than to do the translation manually. I suggest you have these pages in your browser meanwhile:
http://www.mathworks.com/help/techdoc/ with: http://www.scipy.org/Numpy_Example_List_With_Doc
and: http://www.scipy.org/NumPy_for_Matlab_Users with: http://mathesaurus.sourceforge.net/matlab-numpy.html
OTHER TIPS
Install PyClips
- wget http://sourceforge.net/projects/pyclips/files/pyclips/pyclips-1.0/pyclips-1.0.7.348.tar.gz/download
- tar zxvf download
- cd pyclips
- ./setup.py install
libreMate
- cd /path/to/libermate-0.4
- ./libermate.py /path/to/matlabfile.m
This works for me :-)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow