ImportError: No module named 'matlab' , DLL load failed
1 view (last 30 days)
Show older comments

>>
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 Comments
Robert Snoeberger
on 31 May 2017
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.
Answers (0)
See Also
Categories
Find more on Call MATLAB from Python in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!