Call Matlab function/file from server

1 回表示 (過去 30 日間)
Hang Yu
Hang Yu 2018 年 4 月 24 日
Hi,
I'm trying to call a matlab script I wrote from Omero sever, which support python scripting. So, I installed MATLAB Engine API for Python on my Linux server where Omero is also on. When I simply run the python script I wrote to call the matlab script, it runs through. However, when I tried to upload it to Omero server, I got the following error:
Traceback (most recent call last):
File "./script", line 1, in <module>
import matlab.engine
File "/usr/local/lib/python2.7/dist-packages/matlab/engine/__init__.py", line 62, in <module>
'MathWorks Technical Support for assistance: %s' % e)
EnvironmentError: Please reinstall MATLAB Engine for Python or contact MathWorks Technical Support for assistance: No module named matlabengineforpython2_7

回答 (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