Note that there are some explanatory texts on larger screens.

plurals
  1. POMATLAB proxy could not be created in 180000 milliseconds
    primarykey
    data
    text
    <p>I am using the matlabcontrol-4.0.0.jar library to call Matlab from Java. This on Ubuntu 11.10, Matlab r2011b and Java version "1.6.0_23". </p> <p>When trying to run this simple program:</p> <pre><code>public static void main(String[] args) throws MatlabConnectionException, MatlabInvocationException { //Create a proxy, which we will use to control MATLAB MatlabProxyFactory factory = new MatlabProxyFactory(options); MatlabProxy proxy = factory.getProxy(); //Display 'hello world' just like when using the demo proxy.eval("disp('hello world')"); //Disconnect the proxy from MATLAB proxy.disconnect(); } </code></pre> <p>I get, after the Matlab launch screen appears (which is good), a time out:</p> <blockquote> <p>Exception in thread "main" matlabcontrol.MatlabConnectionException: <strong>MATLAB proxy could not be created in 180000 milliseconds</strong> at matlabcontrol.RemoteMatlabProxyFactory.getProxy(RemoteMatlabProxyFactory.java:158) at matlabcontrol.MatlabProxyFactory.getProxy(MatlabProxyFactory.java:81) at Main.main(Main.java:15)</p> </blockquote> <p>I've looked everywhere including all the tips from provided by stackoverflow, but nothing seems to fit the problem i am encountering</p> <p><em><strong></em>*UPDATE*</strong></p> <p>I forbore to mention that I already tried the scenario described by Joshua Kaplan (thanks!) .This seems be <strong>for my case</strong> of no help, meaning that it just keeps waiting. Could someone perhaps elaborate on the communication protocol between java and the matlab proxy? -> It could be an incompatibility issue as well, I've posted on the website delivering the resource, have received no answer so far...</p> <p><em><strong></em>*END UPDATE*</strong></p> <p>So, any of you a tip where to start looking, that would be wonderful thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload