up vote22down voteaccepted | There are several alternative tools for converting Matlab code to Python code (not tested yet): Small Matlab to Python compiler: convert Matlab code to Python code, also developed here:SMOP@chiselapp LiberMate: translate from Matlab to Python and SciPy OMPC: Matlab to Python (a bit outdated) Matlab to Python conversion: No download files available Also, for those interested in an interface between the two languages and not conversion: pymatlab: communicate from Python by sending data to the MATLAB workspace, operating on them with scripts and pulling back the resulting data Python-Matlab wormholes: both directions of interaction supported Python-Matlab bridge: use Matlab from within Python, offers matlab_magic for iPython, to execute normal matlab code from within ipython PyMat: Control Matlab session from Python pymat2: continuation of the appearingly abandoned PyMat. mlabwrap, mlabwrap-purepy: make Matlab look like Python library (based on PyMat) oct2py: run GNU Octave commands from within Python pymex: Embeds the Python Interpreter in Matlab, also on File Exchange matpy: Access MATLAB in various ways: create variables, access .mat files, direct interface to MATLAB engine (requires MATLAB be installed). MatPy: Python package for numerical linear algebra and plotting with a MatLab-like interface Btw might be helpful to look here for other migration tips: http://bci2000.org/downloads/BCPy2000/Migration.html On a different note, though I'm not a fortranfan at all, for people who might find it useful there is: matlab2fortran
| |||
add comment |
วันพฤหัสบดีที่ 1 มีนาคม พ.ศ. 2561
Just share tool for using python around matlab
reference : http://www.aichengxu.com/python/1074817.htm
สมัครสมาชิก:
ส่งความคิดเห็น (Atom)
ไม่มีความคิดเห็น:
แสดงความคิดเห็น