Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB Builder JA   

Version 1.0 (R2006b) MATLAB® Builder for Java™ Software

This table summarizes what's new in Version 1.0 (R2006b):

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known ProblemsRelated Documentation at Web Site
Yes
Details below
No
Bug Reports
See also Known Issues.
No

New features and changes introduced in this version are:

Introducing MATLAB Builder for Java

MATLAB® Builder for Java™ is an extension to MATLAB Compiler software. Use this builder to wrap MATLAB functions into one or more Java classes that comprise a Java package. Each of the MATLAB functions is encapsulated as a method of a Java class and can be invoked from within a Java application.

When you distribute the application to your users, you must include supporting files generated by the builder as well as the MATLAB Component Runtime (MCR), which is provided by the product. Your users do not have to purchase and install MATLAB.

Support for MATLAB Features in Java

MATLAB Builder for Java provides robust data conversion, indexing, and array formatting capabilities to preserve the flexibility of MATLAB when called from Java code. To support the MATLAB data types, the builder provides the MWArray class hierarchy. You can use MWArray and other Java class members in your application to convert native arrays to MATLAB arrays and vice versa. builder also provides automatic data conversion for passing arguments that are Java types.

MATLAB Builder for Java provides custom error handling so that errors originating from MATLAB functions are reported as standard exceptions. The error description contains specific references to the MATLAB code, thus simplifying the debugging process.

Deployment Tool User Interface

To use the builder, open the Deployment Tool by issuing the following MATLAB command:

deploytool

You can use the Deployment Tool to create a project that encapsulates MATLAB code. You can perform the following tasks using the Deployment Tool:

Known Issues

The following issue is known and a patch to fix the problem is available at the linked bug report.

Data Returned by toArray Referencing Sparse Format May Be Corrupt

The data returned by calling toArray on a MWNumericArray or MWLogicalArray object that references a MATLAB array stored in sparse format may be incorrect or corrupted. More information and a patch that corrects this issue can be found at the Customer Bug Reports area of the MathWorks Web site: http://www.mathworks.com/support/bugreports/index.html?release=R2006b. At the Bug Reports page, select R2006b in the Release list, and select MATLAB Builder for Java in the Product list.

This bug does not affect normal (nonsparse) arrays, nor does it affect other methods of retrieving data from a sparse array, such as get, getDouble, and getData.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS