MATLAB Builder JA
for Java language
Product Description
- Introduction and Key Features
- Working with MATLAB Builder JA
- Building and Packaging Components with the Deployment Tool
- Accessing Components
- Deploying MATLAB Based Java Components on a Desktop Computer
- Deploying MATLAB Based Java Components on a Local Network or the Web
Working with MATLAB Builder JA
Together, MATLAB, MATLAB Compiler, and MATLAB Builder JA enable you to develop applications using MATLAB, and then incorporate them in Java programs. You use MATLAB—a high-level, matrix-optimized language with built-in math, graphics, and data analysis functions—to rapidly prototype, implement, and test your algorithms. Once an application is complete, you use the builder to automatically package MATLAB code as Java classes. These classes can be integrated in a Java application and referenced in the same way as standard Java classes.
Like other Java components, the JAR files generated by the builder are generally platform-independent and run on any platform supported by MATLAB. Some toolbox functions are implemented as MEX-files, which are platform-dependent, making these functions and any Java components that use them not portable.
Using MATLAB Builder JA 6:48
Create a deployment tool project, add a MATLAB script, compile it into a Java component, integrate the component into a Java application, test and prepare it for distribution to non-MATLAB users.
To create portable Java classes from MATLAB functions, the builder encrypts the functions and generates a Java wrapper around them. To deploy these classes, you first install the MATLAB Compiler Runtime (MCR) on a target computer, and then run the classes incorporated in a Java program against the MCR. The MCR (provided with MATLAB Compiler) is the full set of shared libraries required for executing MATLAB based components. It provides complete support for all features of the MATLAB language and most toolboxes.
