JavaEngine API Summary
com.mathworksPackages
Classes incom.mathworks Package |
Purpose |
---|---|
com.mathworks.engine.MatlabEngine |
Definition of the API for the Java®engine |
Failure by MATLAB®to start, connect, terminate, or disconnect |
|
不支金宝app持的数据类型在MATLAB的输入或输出function |
|
Runtime error in MATLAB code |
|
Syntax error in MATLAB expression |
Thecom.mathworks.matlab.types
package provides support for specialized MATLAB types in Java.
Classes incom.mathworks.matlab.types Package |
MATLAB Type |
---|---|
com.mathworks.matlab.types.Complex |
MATLAB |
com.mathworks.matlab.types.HandleObject |
MATLAB |
com.mathworks.matlab.types.ValueObject |
MATLAB value objects in Java |
com.mathworks.matlab.types.Struct |
MATLAB |
创建一个 |
com.mathworks.engine.MatlabEngine
Methods
Static methods | Purpose |
---|---|
Start MATLAB synchronously |
|
Start MATLAB asynchronously |
|
Find all available shared MATLAB sessions running on the local machine synchronously |
|
Find all available shared MATLAB sessions from local machine asynchronously |
|
connectMatlab | Connect to a shared MATLAB session on local machine synchronously |
Connect to a shared MATLAB session on local machine asynchronously |
Member Methods | Purpose |
---|---|
Evaluate a MATLAB function with arguments synchronously |
|
Evaluate a MATLAB function with arguments asynchronously |
|
Evaluate a MATLAB statement as a string synchronously |
|
Evaluate a MATLAB statement as a string asynchronously |
|
Get a variable from the MATLAB base workspace synchronously |
|
Get a variable from the MATLAB base workspace asynchronously |
|
Put a variable in the MATLAB base workspace synchronously |
|
Put a variable in the MATLAB base workspace asynchronously |
|
Explicitly disconnect from the current MATLAB session synchronously |
|
Explicitly disconnect from the current MATLAB session asynchronously |
|
Force the shutdown of the current MATLAB session synchronously |
|
Force the shutdown of the current MATLAB session asynchronously |
|
Disconnect or terminate current MATLAB session |
java.util.concurrent.Future Interface
Member Methods | Purpose |
---|---|
|
Wait for the computation to complete and then return the result |
|
Attempt to cancel execution of this task |
|
Return |
|
Return |
For more information, see the Java documentation forjava.util.concurrent.Future.