ImportError: No module named 'matlab' , DLL load failed

1 visualizzazione (ultimi 30 giorni)
>>
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 Commenti
Robert Snoeberger
Robert Snoeberger il 31 Mag 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.
sushmita das
sushmita das il 7 Giu 2017
Modificato: sushmita das il 7 Giu 2017
No actually I am using "C:\Program Files\MATLAB|R2016a\extern\engines\python\Python34\" . Do I need to install matlab.engine in Python34 as well? Why is it required to install matlab.engine inside matlab?

Accedi per commentare.

Risposte (0)

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by