Main Content

Java with MATLAB

Directly call Java® library functionality from MATLAB® or write Java programs that work with MATLAB

To access existing Java classes in the MATLAB workspace, see Call Java from MATLAB.

To call MATLAB functions and evaluate MATLAB statements from Java programs, synchronously or asynchronously, see Call MATLAB from Java. These Java programs can pass data to and get data from the MATLAB workspace.

To use your system version of the Java Runtime Environment (JRE™), call the jenv function. For version information, see MATLAB Interfaces to Other Languages.

Categories