On Wed, Aug 18, 2010 at 8:20 AM, Sturla Molden <stu...@molden.no> wrote: > Den 18. aug. 2010 kl. 08.19 skrev Martin Raspaud > <martin.rasp...@smhi.se>: > >> Once upon a time, when my boss wanted me to use matlab, I found myself >> implementing a python interpreter in matlab... >> > > There are just two sane solutions for Matlab: Either embed CPyton in a > MEX file, or use Matlab's JVM to run Jython ;) > > http://vader.cse.lehigh.edu/~perkins/pymex.html
Just thought I'd mention another one since this came up: http://github.com/kw/pymex This one works very nicely - it proxies any Python objects so you can use, should you want to, the Matlab IDE as a python interpreter, supports numpy arrays etc. Also cross-platform - I even got it to work with 64 bit matlab/python on windows (in a fork on github). > > > Sturla > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion