Possible Duplicate:
call to matlab function in a python prorgam
hi
I am trying to run a function I wrote in matlab from a python script.
lets say that the maltab program is
function [ret1,ret2] = TestFunction (input1,input2)
ret1=input1-input2
ret2=input1+input2
end
and I want to run it from a python program:
a=5
b=6
here I want to call TestFunction(a,b)
any idea how to do it???
the reason is that I have a script in matlab the converts BMP to AVI that I want to use in python code I am wrote.
any help will be appriciated.
ariel