With MATLAB Compiler SDK™, integrating compiled MATLAB functions into a Java application involves using a combination of APIs that initialize MATLAB Runtime, load the compiled MATLAB functions into MATLAB Runtime, and manage the data that passes between the Java and MATLAB.
Java packages and applications provide portable and scalable solutions for applications in large-scale enterprise or web environments. You can deploy generated packages to enterprise or web environments where MATLAB Runtime is installed.
Java Remote Method Invocation (RMI) is a set of APIs that enable Java objects to invoke objects in a different Java virtual machine (JVM). Use RMI to develop client-server applications, distributed applications, and web applications. For such applications, only the portions of the application that directly invoke MATLAB functions require MATLAB Runtime. The other portions of the application can work with native Java data types.
|Create Java package for deployment outside MATLAB|
|Options for building Java packages|
|Display version and location information for MATLAB Runtime installer corresponding to current platform|
|Return MATLAB Runtime version number that matches MATLAB version|
Create a Java package in MATLAB and implement it with sample Java code.
Learn how to integrate a MATLAB generated Java package into a Java application.
Build a Java application that displays a MATLAB plot.
Encapsulate a MATLAB function that modifies a structure array containing phone numbers.
Implement a signal analyzer application that incorporates multiple functions using dependency analysis.
Create a Java package containing multiple functions to implement a matrix math program.
Use object-oriented design to deploy a MATLAB class in a Java package.
Build a Java package that applies optimization routines to objective functions using
waitForFigures in a console-based Java application that generates MATLAB figures.
See guidelines on how to convert data between Java and MATLAB.
Refer to the rules for converting Java types to MATLAB types.
Properly create and dispose of MATLAB data in your code.
See techniques to work effectively with figure and image data in your code.
Manage deployable archive embedding and extraction behavior using either the MWComponentOptions class or environment variables.
Ensure platform independence in your compiled MATLAB code.
Learn the data types that cannot be shared across Java packages.
Learn how RMI allows you to run separate processes on multiple machines.
Try an example using RMI with a client and server.
See an example illustrating the use of native Java cell and struct arrays.