Call Matlab function/file from server

1 vue (au cours des 30 derniers jours)
Hang Yu
Hang Yu le 24 Avr 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

Réponses (0)

Catégories

En savoir plus sur Call MATLAB from Python dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by