在Python中调用MATLAB的API

Window系统

cd "matlabroot\extern\engines\python"
python setup.py install

Linux or Mac系统

cd "matlabroot/extern/engines/python"
python setup.py install

可能需要加上sudo权限 sudo python setup.py install

检查安装成功

python下import matlab.engine

你可能感兴趣的:(在Python中调用MATLAB的API)