Calling Matlab engine from Python fails
1 回表示 (過去 30 日間)
古いコメントを表示
Hiya,
I follow the installation process for Matlab engine API explained in:
I use Matlab R2020a, Spyder4(Anaconda3)/Python 3.7 distributions in my Windows OS.
I managed to install the library in the default folder
C:\Program Files\MATLAB\R2020a\extern\engines\python\build\lib\matlab\engine
But when I run the following command in Spyder
import matlab.engine
it returns an error:
ModuleNotFoundError: No module named 'matlab'
Could anyone please tell me what am doing wrong?
0 件のコメント
回答 (1 件)
Steven Lord
2020 年 4 月 20 日
That page states "You might need administrator privileges to execute these commands." Do you have administrator privileges?
参考
カテゴリ
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!