Hi all,

ti, 2006-11-07 kello 11:23 +0900, David Cournapeau kirjoitti:
>     I am trying to find a nice way to communicate between matlab and 
> python. I am aware of pymat, which does that, but the code is 
> deprecated, and I thing basing the code on ctypes would lead to much 
> more robust code.
> 
>     http://claymore.engineer.gvsu.edu/%7Esteriana/Software/pymat.html
> 
> I have a really simple prototype which can send and get back data from 
> matlab, but I was wondering if it would be possible to use a scheme 
> similar to ctypes instead of having to convert it by hand.

A while ago I wrote a mex extension to embed the Python interpreter
inside Matlab:

        http://www.iki.fi/pav/pythoncall

I guess it's something like an inverse of pymat :)

But I guess this is not really what you are looking for, since at
present it just does a memory copy when passing arrays between Matlab
and Python. Though, shared arrays might be just possible to implement if
memory management is done carefully.

BR,

        Pauli Virtanen

Attachment: signature.asc
Description: Digitaalisesti allekirjoitettu viestin osa

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to