We're Hiring!

Matalb scripts

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Matalb scripts

Postby saleht » Mon May 15, 2017 11:53 am

Hi guys,

do i need to install whole Matalb on my Omero server to let the users use Matlab scripts in Omero, OR i need only mlabwrap to be installed.
becasue i am getting Erro while i am trying to install mlabwrap

Code: Select all
Traceback (most recent call last):
  File "setup.py", line 129, in <module>
    queried_version, queried_dir, queried_platform_dir = matlab_params(cmd, WINDOWS, extra_args)
  File "setup.py", line 92, in matlab_params
    error = call(cmd, **extra_args)
  File "/usr/lib64/python2.7/subprocess.py", line 524, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


any idea, any help pls
cheers and see u on 2017 meeting :)
saleht
 
Posts: 96
Joined: Wed Nov 16, 2016 1:06 pm

Re: Matalb scripts

Postby bramalingam » Tue May 16, 2017 10:22 am

Hi,

Thank you for submitting your issue.
“do i need to install whole Matalb on my Omero server to let the users use Matlab scripts in Omero”
Yes,
mlabwrap is just a python to Matlab bridge and it enables matlab to look like a normal python library (just restating the explanation given in the following link):
https://uk.mathworks.com/matlabcentral/linkexchange/links/1152-mlabwrap?requestedDomain=www.mathworks.com

The issue has been discussed in the following forum post,
https://sourceforge.net/p/mlabwrap/mailman/message/29077359/

which again suggests that you will need a full Matlab installation and it needs to be added to your PATH variable.

Hope that helps,
Best,
Balaji
User avatar
bramalingam
 
Posts: 70
Joined: Tue Jan 14, 2014 12:01 pm


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest