Open
Description
This is something that might be very tricky. A couple of hints that might lead to a workable solution:
- Matlab control is an unofficial add-on using an internal API of Matlab to call into a fully licensed copy. See http://www.cs.virginia.edu/~whitehouse/matlab/JavaMatlab.html for details
- Matlab has a way to register event listeners. Basically, whenever you pass a Matlab function (possibly having to manipulate it with the
handle
function first) to a Java method expecting an event listener, that Matlab function gets wrapped in a correct Java class. The trick seems to be that the parameter passed to the callback has to be a subclass ofjava.util.EventObject
. See http://undocumentedmatlab.com/blog/matlab-callbacks-for-java-events for details
Hopefully these pointers will help!
Metadata
Metadata
Assignees
Labels
No labels