[nengo-user] error using nengo in matlab
王雪菲
xuefeiwang1211 at gmail.com
Thu Dec 19 08:47:12 EST 2013
hello everyone:
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'));",
I got the following message:
"??? Error using ==> javaMethod
The second argument to javaMethod must be a Java object array or
a character string specifying the class".
Then I change the sentence to:
"C=javaMethod('__tojava__',PyObject(python.get('C')),java.lang.Class.forName('java.lang.Object'));",
It returned a null pointer error like:
"??? Error using ==> javaMethod
Java exception occurred:
java.lang.NullPointerException
at org.python.core.PyObject.proxyInit(PyObject.java:125)
at org.python.core.PyObject.getJavaProxy(PyObject.java:299)
at org.python.core.PyObject.__tojava__(PyObject.java:265)".
It seems that python.get('C') only returns null,and can't get the
information of ensemble C.
I do this on Windows7 and use matlabr2010b.
How can I solve this problem?
Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://artsservices.uwaterloo.ca/pipermail/nengo-user/attachments/20131219/bb8dfc04/attachment-0002.html>
More information about the nengo-user
mailing list