Call Matlab function/file from server

1 view (last 30 days)
Hang Yu
Hang Yu on 24 Apr 2018
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

Answers (0)

Community Treasure Hunt

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

Start Hunting!