tags:

views:

68

answers:

2

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

A: 

PyMat

katrielalex
+1  A: 

This question is being asked again and again, also by yourself. You can just edit your old post, see: "How to get attention for your old, unanswered questions?"

http://stackoverflow.com/questions/2255942/how-do-i-interact-with-matlab-from-python http://stackoverflow.com/questions/2883189/calling-matlab-functions-from-python http://stackoverflow.com/questions/2659661/call-to-matlab-function-in-a-python-prorgam

Mikhail
Listing of duplicates and meta-discussion generally belongs in a comment, not an answer.
gnovice
@gnovice: you are right but 1. Comments are limited to 600 chars and I was considering writing a longer post. 2. ANY !!! answer to this question, like the one by katrielalex is a duplicate.
Mikhail