2

pymat doesnt seem to work with current versions of matlab, so I was wondering if there is another equivalent out there (I havent been able to find one). The gist of what would be desirable is running an m-file from python (2.6). (and alternatives such as scipy dont fit since I dont think they can run everything from the m-file).

Thanks in advance!

asked Mar 12, 2012 at 21:56

4 Answers 4

2

There's mlabwrap. Have you looked at this? I used this several years ago, but not recently.

answered Mar 12, 2012 at 22:01
Sign up to request clarification or add additional context in comments.

Comments

2

You can always start matlab as separate subprocess and collect results via std.out/files. (see subprocess package).

answered Mar 12, 2012 at 22:02

Comments

1

On Windows you do this:

>>> import win32com.client
>>> h = win32com.client.Dispatch('matlab.application')
answered Mar 14, 2012 at 20:16

Comments

0

I think that the most comprehensive Python packages to call MATLAB functions are:

Disclaimer: I'm the developer of matlab_wrapper.

answered Jul 22, 2014 at 14:14

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.