[SciPy-user] LiberMate was Re: Automating Matlab

Nils Wagner nwagner@iam.uni-stuttgart...
Sat Feb 21 11:39:22 CST 2009


On Sat, 21 Feb 2009 11:38:50 -0500
  Eric Schug <schugschug@gmail.com> wrote:
> Eric Schug wrote:
>> 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.
>>
>>
>For those interested, my new project has been uploaded 
>sourceforge at,
> http://sourceforge.net/projects/libermate/
> 
> Latest version now supports simple command expressions 
>(e.g hold on)
> 
> 
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user

Hi Eric,

You might be interested in some tests.

Different Matlab Toolboxes are available through

http://www.maths.manchester.ac.uk/~higham/mg/

Cheers,
  
         Nils



More information about the SciPy-user mailing list