matlab engine for python

1 回表示 (過去 30 日間)
Bing Wang
Bing Wang 2020 年 6 月 22 日
コメント済み: Bing Wang 2020 年 6 月 22 日
I want to call matlab functions from python (matlab2019b, win10, anaconda, pycharm3.7)
I have been following suggestion in matlab document to install matlab engine (python setup.py install)
However, pycharm has error of
'ModuleNotFoundError: No module named 'matlabengineforpython3_7''
After checking with the matlab/exterm/python/.../matlab/engine/ folder
There is no such file as matlabengineforpython3_7
So I want to ask how to fix this?
Kind regards,
Bing
  1 件のコメント
Bing Wang
Bing Wang 2020 年 6 月 22 日
After some tries, I found this error happens when I import another py file at the top, import standard library has no problem (like numpy, sklearn), but my own py file, it raises this problem.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeCall MATLAB from Python についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by