このページは前リリースの情報です。該当の英語のページはこのリリースで削除されています。
Javaパッケージの基礎
コンパイルされた MATLAB 関数を Java アプリケーションに統合する方法は、標準 Java パッケージを使用する方法と似ています。主な相違点は、生成された関数がデータをMWArray
オブジェクトとして渡す必要がある点です。
関数
compiler.build.javaPackage |
CreateJavapackage for deployment outsideMATLAB |
compiler.build.JavaPackageOptions |
Options for buildingJavapackages |
mcrinstaller |
Display version and location information forMATLABRuntimeinstaller corresponding to current platform |
mcrversion |
ReturnMATLABRuntimeversion number that matchesMATLABversion |
Java API ドキュメンテーション
例および操作のヒント
Integrate Simple MATLAB Function Into Java Application
Learn how to integrate a MATLAB generated Java package into a Java application.
Display MATLAB Plot in Java Application
Build a Java application that displays a MATLAB plot.
Build a Java package that applies optimization routines to objective functions using theMWJavaObjectRef
class.
Limitations on Multiple Packages in Single Java Application
Learn the data types that cannot be shared across Java packages.
Supply Run-Time Profile Information for Parallel Computing Toolbox Applications
Example illustrating how to useMATLAB RuntimeUser Data Interface to specify profile information for Parallel Computing Toolbox™ applications.
概念
Configure Your Java Environment for Generating Packages
Configure the Java environment for compiling MATLAB code and developing Java applications.
Interaction Between MATLAB Compiler SDK and JVM
Packages produced byMATLAB Compiler SDK™use Java Native Interface (JNI) to interact withMATLAB Runtime.
Convert Data Between Java and MATLAB
See guidelines on how to convert data between Java and MATLAB.
Pass Java Objects by Reference
Manage MATLAB Resources in JVM
Properly create and dispose of MATLAB data in your code.
Define Embedding and Extraction Options for Deployable Java Archive
Manage deployable archive embedding and extraction behavior using either the MWComponentOptions class or environment variables.
Ensure Multiplatform Portability for Java
Ensure platform independence in your compiled MATLAB code.
Block Console Display When Creating Figures in Java
UsewaitForFigures
in a console-based Java application that generates MATLAB figures.
Render MATLAB Image Data in Java
See techniques to work effectively with figure and image data in your code.