S
Sam
is it able to utilize functions written in Python in Matlab?
Sam said:is it able to utilize functions written in Python in Matlab?
Yes, if you embed the Python interpreter in a MEX-file.
Sam Adams said:Thanks Sturla, could you please explain in more details, I am new to Python
Sam Adams wrote:
All the information you need to extend or embed Python is in the docs.
Apart from that, why do you need Matlab? A distro like Enthought Canopy or
Anaconda has all the tools you will ever need for scientific programming.
Embedding Python is almost never the right solution to a problem. But if
you really need Matlab, you will be far better off by calling Matlab engine
from Python (e.g. using ctypes or Cython).
Rustom Mody said:What Sturla is probably saying is that the matmab-python imp-mismatch is
so high that jumping across is almost certainly not worth the trouble.
And BTW have you seen sage?
http://www.sagemath.org/
is it able to utilize functions written in Python in Matlab?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.