注意需要 Python是2.7, 3.3, and 3.4.噢
第一步:
用管理员权限打开cmd.exe
第二步:cd到MATLAB安装文件中的"\extern\engines\python"
第三步输入Python的安装目录+Python.exe setup.py install如下图
另外有人说要改环境变量,按照上面的教程不行就改改环境变量吧
另外粘一段MATLAB官方使用教程
Call User Script and Function from Python
This example shows how to call a MATLAB® script to compute the area of a triangle from Python®.