[SciPy-user] Automating Matlab

Sturla Molden sturla at molden.no
Sun Feb 1 20:07:22 EST 2009


> On Sat, Jan 31, 2009 at 19:06, Eric Schug <schugschug at gmail.com> wrote:
>> Is there strong interest in automating matlab to numpy conversion?
>
> Yes! Please post your code somewhere!

For those who are interested, there are two ways of doing this:

The most portable is to call the 'Matlab engine', which is a C and Fortran
library for automating Matlab. This can be done using f2py or ctypes (wrap
libeng.dll and libmx.dll).

http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/matlab_external/f29148.html&http://www.google.no/search?rlz=1C1GGLS_noNO291NO303&aq=f&sourceid=chrome&ie=UTF-8&q=matlab+engine

The other option (Windows only) is to use Matlab as an outproc COM server.
This will require pywin32.


S.M.




More information about the SciPy-User mailing list