赞
踩
错误原因:
1、python 版本跟matlab 的版本要对应 详见Versions of Python Compatible with MATLAB Products by Release - MATLAB & Simulink
2、conda环境中的Python 不好使
解决方案:
pyenv('Version', '/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8')
设置python 可执行文件的路径为从Python官网下载的安装后的python ,亲测可用。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。