<div dir="ltr">hello everyone:<div> I'm reading documentation of nengo and trying to use it in matlab.But every time I run: " C=javaMethod('__tojava__',python.get('C'),java.lang.Class.forName('java.lang.Object'));", </div>
<div><br></div><div>I got the following message:</div><div>"??? Error using ==> javaMethod</div><div>The second argument to javaMethod must be a Java object array or</div><div>a character string specifying the class".</div>
<div><br></div><div>Then I change the sentence to:</div><div>"C=javaMethod('__tojava__',PyObject(python.get('C')),java.lang.Class.forName('java.lang.Object'));",</div><div><br></div><div>
It returned a null pointer error like:</div><div>"??? Error using ==> javaMethod</div><div>Java exception occurred:</div><div>java.lang.NullPointerException</div><div>at org.python.core.PyObject.proxyInit(PyObject.java:125)<br>
</div><div>at org.python.core.PyObject.getJavaProxy(PyObject.java:299)<br></div><div>at org.python.core.PyObject.__tojava__(PyObject.java:265)".<br></div><div><br></div><div>It seems that python.get('C') only returns null,and can't get the information of ensemble C.</div>
<div><br></div><div>I do this on Windows7 and use matlabr2010b.</div><div>How can I solve this problem?</div><div>Thank you very much.</div><div><br></div><div><br></div><div><br></div></div>