Running matlab in python Environment Error

2 vues (au cours des 30 derniers jours)
Christoph Bernkopf
Christoph Bernkopf le 27 Sep 2017
Hi all,
Im trying to run matlab in python. I installed the setup.py module and matlab with pip. Then i run python in bash and import matlab.engine
I get the following error: EnvironmentError: Please reinstall MATLAB Engine for Python or contact MathWorks Technical Support for assistance: No module named matlabengineforpython2_7
Im using python 2.7.12. Is there a version for python 3 or a working one for python 2.7?
Thanks for your help! Cheers, Christoph
  1 commentaire
Kojiro Saito
Kojiro Saito le 29 Sep 2017
Which MATLAB version are you using?

Connectez-vous pour commenter.

Réponses (1)

yitao yitao
yitao yitao le 22 Déc 2018

Catégories

En savoir plus sur Call MATLAB from Python dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by