Accessing Components

After instantiating a Java class from a MATLAB based component, you can access MATLAB functions as native Java methods. Native Java data types passed to MATLAB functions are automatically converted to MATLAB data types. Alternatively, you can explicitly select the data type to use.

Swing GUI with Java Native Interface (JNI )

A Java Swing application that calls MATLAB code for a loan amortization calculation using Java Native Interface (JNI).

Learn more about extending Java math capabilities with MATLAB.

Next: Deploying on the Desktop

Try MATLAB Builder JA

Get trial software

Teilen Sie Ihr Know-how – Anwendungsentwicklung mit MATLAB

View webinar