ImportError: No module named 'matlab' , DLL load failed
1 次查看(过去 30 天)
显示 更早的评论

>>
While starting Matlab API for Python after providing the command import matlab.engine it gives me an error: ImportError: No module named 'matlab' Although the installation of python in matlab api was succesfull , there is no module named matlab in python. Can anyone help me? Thank You!
8 个评论
Robert Snoeberger
2017-5-31
This is just an observation. In your original question you used "python". Then, in your latest comment you used "python.exe" that appears to be installed in "C:\Program Files\MATLAB|R2016a\extern\engines\python\Python34\". Are you using two different Python installations? That could explain the "No module named 'matlab'" error. You didn't install matlab.engine in the "C:\Program Files\MATLAB|R2016a\extern\engines\python\Python34\" installation.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call MATLAB from Python 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
