Call Matlab function/file from server

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Call MATLAB from Python 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by