How do I notify a MATLAB object of an event in a Java object?

后端 未结 2 926
萌比男神i
萌比男神i 2021-02-05 06:17

For simplicity, say I have a Java object which generates a random number at randomly spaced time intervals. I wish to have a MATLAB object notified every time one of these rand

2条回答
  •  日久生厌
    2021-02-05 06:29

    I have only done this from C, and it seems to be the better option. Anyhow, following

    http://undocumentedmatlab.com/blog/jmi-wrapper-remote-matlabcontrol/

    it looks like the best way would be to make use of the documented support for a COM interface (Windows) and process pipes (Unix/Mac).

    Hope it helps

提交回复
热议问题