Call Matlab function/file from server

1 visualización (últimos 30 días)
Hang Yu
Hang Yu el 24 de Abr. de 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

Respuestas (0)

Categorías

Más información sobre Call MATLAB from Python en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by