Calling matlab callback/function handle from Java

Posted by jakob on Stack Overflow See other posts from Stack Overflow or by jakob
Published on 2009-06-17T08:49:56Z Indexed on 2010/03/30 18:23 UTC
Read the original article Hit count: 537

Filed under:
|
|
|

How do I pass a matlab function handle to a Java object and invoke it from within Java (that is, I want Java to tell matlab when it is ready with a calculation). I am trying to use the com.mathworks.jmi.Matlab class for evaluating Matlab expressions in the Java object, but I can't see how to 1) transfer the callback funcktion handle to Java, and 2) invoke it from Java possibly using the com.mathworks.jmi.Matlab class.

Thanks, jakob

© Stack Overflow or respective owner

Related posts about matlab

Related posts about java