[Numpy-discussion] Interface numpy arrays to Matlab?

2017-08-28 Thread Neal Becker
I've searched but haven't found any decent answer. I need to call Matlab from python. Matlab has a python module for this purpose, but it doesn't understand numpy AFAICT. What solutions are there for efficiently interfacing numpy arrays to Matlab? Thanks, Neal __

Re: [Numpy-discussion] Interface numpy arrays to Matlab?

2017-08-28 Thread Stephan Hoyer
If you can use Octave instead of Matlab, I've had a very good experience with Oct2Py: https://github.com/blink1073/oct2py On Mon, Aug 28, 2017 at 12:20 PM, Neal Becker wrote: > I've searched but haven't found any decent answer. I need to call Matlab > from python. Matlab has a python module fo

Re: [Numpy-discussion] Interface numpy arrays to Matlab?

2017-08-28 Thread CJ Carey
Looks like Transplant can handle this use-case. Blog post: http://bastibe.de/2015-11-03-matlab-engine-performance.html GitHub link: https://github.com/bastibe/transplant I haven't given it a try myself, but it looks promising. On Mon, Aug 28, 2017 at 4:21 PM, Stephan Hoyer wrote: > If you can

Re: [Numpy-discussion] Interface numpy arrays to Matlab?

2017-08-28 Thread Gregory Lee
I have not used Transplant, but it sounds fairly similar to Python-matlab-bridge. We currently optionally call Matlab via Python-matlab-bridge in some of the the tests for the PyWavelets package. https://arokem.github.io/python-matlab-bridge/ https://github.com/arokem/python-matlab-bridge I woul