Matlab toolbox

Mathworks-Matlab is mathematical, scientific environment with a very good Java connection and lot's of toolboxes.

Using another JDK

  1. Get an up-to-date version of the JOELib library and the JOELib-Matlab toolbox.

  2. You must add all required Java libraries to the Matlab CLASSPATH which are defined in the file yourMatlabPath/toolbox/local/classpath.txt:

    $matlabroot/java/jarext/joelib.jar
    $matlabroot/java/jarext/log4j.jar
        

  3. Copy all the required libraries to the directory yourMatlabPath/java/jarext.

  4. for using Java 1.4 or higher you must add/change your system variable MATLAB_JAVA to

    MATLAB_JAVA 1.4.1_01
        
    if you are using JDK1.4.1.

  5. then copy your JRE directory to the matlab directory yourMatlabPath/sys/java/jre/win32/jre1.4.1_01.

JOELib can directly be used under Matlab (the GUI is Java based, too) or vice versa using the JNI interface JMatLink which requires some experience with the JNI.