[SciPy-user] Automating Matlab

Eric Schug schugschug@gmail....
Sat Jan 31 19:06:20 CST 2009


Is there strong interest in automating matlab to numpy conversion?

I have a working version of a matlab to python translator.
It allows translation of matlab scripts into numpy constructs, 
supporting most of the matlab language.  The parser is nearly complete.  
Most of the remaining work involves providing a robust translation. Such as
    * making sure that copies on assign are done when needed.
    * correct indexing a(:) becomes a.flatten(1) when on the left hand 
side (lhs) of equals
       and a[:] when on the right hand side


I've seen a few projects attempt to do this, but for one reason or 
another have stopped it.



More information about the SciPy-user mailing list