运行环境:
Java version: 1.7.0_67
Operating System:Microsoft Windows 8
MATLAB version: ans = 8.1.0.604 (R2013a) 32位
MATLAB Compiler
MATLAB Builder JA
注:MATLAB R2013a 均包含MATLAB Compiler和MATLAB Builder JA。
确定工作环境:
安装Java及JDK,设置环境变量(path),确定Java环境(“运行”中输入“java -version”和“javac -version”);
确定MATLAB能否读取Java的正确路径(“运行”中输入“getenv JAVA_HOME”)。
注:详细步骤可查相关资料http://www.matlabsky.com/thread-17558-1-1.html。
引用官方字段解释两个名词:
What Is a MATLAB Builder JA Project?
To use the MATLAB Builder JA product, you create a project,
which specifies the MATLAB code to be used in the
components that you want to create. This product supports
data conversion between Java types and MATLAB types.
For more about projects and their contents, see Anatomy
of a MATLAB Builder JA Project.
What Is a MATLAB Builder JA Component?
A component created by the MATLAB Builder JA product
is a standalone Java package (.jar file). The package
contains one or more Java classes that encapsulate
MATLAB code. The classes provide methods that are
callable directly from Java code.