Get Started with Java Libraries
R2026bFrom MATLAB®, you can:
Access Java® class packages that support activities such as I/O and networking.
Access third party Java classes.
Construct Java objects in MATLAB workspace.
Call Java object methods, using either Java or MATLAB syntax.
Pass data between MATLAB variables and Java objects.
For information about requirements, see Configure Your System to Use Java.
To create and run programs that access Java objects, use the Java interpreter via MATLAB commands. To find out which version of JVM® software MATLAB uses on your platform, type the following at the MATLAB prompt:
version -java