def c1(a1,b1):
a1=2
b1=3
cc=a1+b1
return cc
I have saved this function in test.py. When I use this function in MATLAB I encountered this problem:
import py.test.* c1(2,3)
Undefined function 'c1' for input arguments
of type 'double'.
py.test.c1(2,3)
Undefined variable "py" or class
"py.test.c1".
How can I use .py function in MATLAB R2014b?