How to call MATLAB executable for Python on cluster?
I am using a python-matlab-bridge that calls MATLAB from python by starting it on a ZMQ socket. On my own computer, I hand the bridge the location of the executable (in this case MATLAB 2014B): executable='/Applications/MATLAB_R2014b.app/bin/matlab' and everything works as required and the printed statement is: Starting MATLAB on ZMQ socket ipc:///tmp/pymatbridge-49ce56ed-f5b4-43c4-8d53-8ae0cd30136d Now I want to do the same on a cluster. Through module avail I find there are two MATLAB versions (2015a and 2016b) available and located at the following path: /opt/ud/LOCAL/etc/modulefiles/matlab