1.安装对应的python版本 2.python 程序 : ```python #!/usr/bin/python3 # test.py import sys def add(a,b): c=a+b return c def test(): print('Hello, Matlab!') 3.Matlab 程序: py.test.add(1,2) py.test.test