User Tools

Site Tools


documents:110524java_matlab

Java - Matlab Interface

Call Matlab From Java

    • matlabcontrol is a Java API that allows for controlling and interacting with both local and remote MATLAB sessions. Local sessions are those in which the Java program has been launched from inside MATLAB. Remote sessions are those in which the Java program has been launched independently and then the Java program launches MATLAB.
    • a bit more aboutjmi.jar natively included in the native Matlab package.
  • The Official Method for generating Java package that include m file function as class method is to use MATLAB Builder JA.
    • Whether this class is usable as library is not tested. From what it looks like in the flash tutorial in the web page above, source should be modified from println out put to something else.

Call Java From Matlab

Calling external Java classes from within Matlab seems to be pretty easy.

  • general description of how-to: Calling Java from MatLab
  • A plugin MIJ developed by Daniel Sage does good job on import/export Images between Matlab and ImageJ
  • Fiji provides an m file “Miji.m” that bridges call from Matlab.
    • quote: “Daniel Sage's MIJ library to use Fiji/ImageJ from within Matlab is included with Fiji now. Just add Fiji.app/scripts/ to the search path and call Miji.”

Calling Java and Matlab from Netbeans

documents/110524java_matlab.txt · Last modified: 2016/05/24 12:46 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki