Am 08.06.2011 09:19 schrieb Adam Przybyla:
nazmul.is...@gmail.com<nazmul.is...@gmail.com>  wrote:
I need to call a python function from a Matlab environment. Is it
possible?

Let's assume, I have the following python code:

def squared(x):
    y = x * x
    return y

I want to call squared(3) from Matlab workspace/code and get 9.

Thanks for your feedback.
        ... try this: http://pypi.python.org/pypi/pymatlab

Thank you for the link, looks interesting for me.

But AFAICT, the OP wants the other direction.


Thomas
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to