Re: Call python function from Matlab

2011-06-08 Thread Thomas Rachel
Am 08.06.2011 09:19 schrieb Adam Przybyla: 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

Re: Call python function from Matlab

2011-06-08 Thread Thomas Rachel
Am 08.06.2011 07:12 schrieb nazmul.is...@gmail.com: 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 f

Re: Call python function from Matlab

2011-06-08 Thread Adam Przybyla
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