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
cd "matlabroot\extern\engines\python"
python setup.py install
cd "matlabroot/extern/engines/python"
python setup.py install
可能需要加上sudo权限 sudo python setup.py install
python下import matlab.engine
本文标题:在Python中调用MATLAB的API
本文链接:https://www.haomeiwen.com/subject/kqfkuxtx.html
网友评论