linking matlab code to java interface

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bravephantom
    New Member
    • Dec 2006
    • 27

    #1

    linking matlab code to java interface

    i want to link my matlab code to work on a java interface. i dont know how.
    if there is another way to do it like converting the matlab code to java, plz tell me but i guess its too difficult.
    anyway im waiting for ur help, thnx :)
  • pronerd
    Recognized Expert Contributor
    • Nov 2006
    • 392

    #2
    Unless this "matlab code" is already written in Java you will not be able to access it with a Java app. You could have the Matlab app save the data you need to a file, and then read that data. The only other option would be if Matlab supports access though a service like JMS, or SOAP.

    Comment

    • Laharl
      Recognized Expert Contributor
      • Sep 2007
      • 849

      #3
      One (very) awkward and likely very messy solution is to use Mex to link the MATLAB to C(++) and then use JNI to link that to Java. That said, at that point, you might as well use C/C++ directly to write your application. Sorry I can't be of more help.

      Comment

      Working...