|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmatlabcontrol.extensions.MatlabTypeConverter
public class MatlabTypeConverter
Converts between MATLAB and Java types. Currently only supports numeric arrays.
This class is unconditionally thread-safe.
Constructor Summary | |
---|---|
MatlabTypeConverter(MatlabProxy proxy)
Constructs the converter. |
Method Summary | |
---|---|
MatlabNumericArray |
getNumericArray(java.lang.String arrayName)
Retrieves the MATLAB numeric array with the variable name arrayName . |
void |
setNumericArray(java.lang.String arrayName,
MatlabNumericArray array)
Stores the array in MATLAB with the variable name arrayName . |
java.lang.String |
toString()
Returns a brief description of this converter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MatlabTypeConverter(MatlabProxy proxy)
proxy
- Method Detail |
---|
public MatlabNumericArray getNumericArray(java.lang.String arrayName) throws MatlabInvocationException
arrayName
.
arrayName
-
MatlabInvocationException
- if thrown by the proxypublic void setNumericArray(java.lang.String arrayName, MatlabNumericArray array) throws MatlabInvocationException
array
in MATLAB with the variable name arrayName
.
arrayName
- the variable namearray
-
MatlabInvocationException
- if thrown by the proxypublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |