[SciPy-user] Automatic MATLAB to scipy/numpy/pylab conversion

Joe Harrington jh@physics.ucf....
Mon Jul 14 23:16:18 CDT 2008


Automatic conversion of at least the boring stuff is crucial.  No
matter how educational rewriting your code may be, if you have 100,000
lines of tools and utilities to convert, you generally can't.  Our
IDL-based group has made good use of i2py, which may at least provide
some educational examples for converting MATLAB, if not a usable
framework.  The general thing is to covert what is easy, and at least
flag what is difficult.  It doesn't do a mapping of function names to
function names or anything like that.  Here's the URL, hope it helps.

http://software.pseudogreen.org/i2py/

If you do a general parser approach, it would be useful to do it in
such a way that the front end can be ripped out and modified or
replaced with one for another language.

I've added a section on the scipy.org wiki under Topical Software for
conversion programs.  When yours is ready, please put in a link there.

--jh--


More information about the SciPy-user mailing list