Matlab Engine for Python error (Linux)

1 回表示 (過去 30 日間)
Alexander Kordalis
Alexander Kordalis 2015 年 11 月 6 日
回答済み: Bo Li 2015 年 11 月 6 日
Hello,
I am using Matlab 2014b installed on Ubuntu 14.04.
I successfully open a Matlab session from python using the function "matlab.engine.start_matlab()".
However, I get an Attribute Error when I am calling "matlab.engine.find_matlab()" or "matlab.engine.connect_matlab()". It seems these functions don't exist at all.
After examining the sourcecode of the Class "MatlabEngine", I cannot find these functions, that I would like to use.
Have you excluded any code for the Linux version, perhaps?
Thank you for your time.

回答 (1 件)

Bo Li
Bo Li 2015 年 11 月 6 日
matlab.engine.find_matlab is introduced in R2015b. Please see the end of this document:

カテゴリ

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