org.ujmp.core.util
Class Matlab
- java.lang.Object
-
- org.ujmp.core.util.Matlab
-
public class Matlab extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringMATLABPARAMETERSstatic java.lang.String[]SEARCH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidbar(Matrix matrix, java.lang.String... format)voidbarh(Matrix matrix, java.lang.String... format)voiderrorbar(Matrix x, Matrix y, Matrix e, java.lang.String... format)java.lang.Stringexecute(java.lang.String command)doublegetDouble(java.lang.String label)floatgetFloat(java.lang.String label)static MatlabgetInstance()static MatlabgetInstance(java.lang.String pathToMatlab)intgetInt(java.lang.String label)longgetLong(java.lang.String label)MatrixgetMatrix(java.lang.String label)voidhist(Matrix matrix, java.lang.String... format)voidimagesc(Matrix matrix, java.lang.String... format)static booleanisAvailable()voidpie(Matrix matrix, java.lang.String... format)voidpie3(Matrix matrix, java.lang.String... format)voidplot(Matrix x, Matrix y, java.lang.String... format)voidplot(Matrix matrix, java.lang.String... format)voidplotmatrix(Matrix matrix, java.lang.String... format)voidsetDouble(java.lang.String label, double value)voidsetFloat(java.lang.String label, float value)voidsetInt(java.lang.String label, int value)voidsetLong(java.lang.String label, long value)voidsetMatrix(java.lang.String label, Matrix matrix)voidshutdown()voidstem(Matrix matrix, java.lang.String... format)voidsurf(Matrix matrix, java.lang.String... format)static java.lang.StringtoString(java.lang.String[] strings)
-
-
-
Field Detail
-
SEARCH
public static java.lang.String[] SEARCH
-
MATLABPARAMETERS
public static final java.lang.String MATLABPARAMETERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static Matlab getInstance() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getInstance
public static Matlab getInstance(java.lang.String pathToMatlab) throws java.lang.Exception
- Throws:
java.lang.Exception
-
execute
public java.lang.String execute(java.lang.String command) throws java.lang.Exception- Throws:
java.lang.Exception
-
shutdown
public void shutdown() throws java.lang.Exception- Throws:
java.lang.Exception
-
setMatrix
public void setMatrix(java.lang.String label, Matrix matrix) throws java.lang.Exception- Throws:
java.lang.Exception
-
getMatrix
public Matrix getMatrix(java.lang.String label) throws java.lang.Exception
- Throws:
java.lang.Exception
-
isAvailable
public static boolean isAvailable()
-
plot
public void plot(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
hist
public void hist(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
surf
public void surf(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
imagesc
public void imagesc(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
bar
public void bar(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
errorbar
public void errorbar(Matrix x, Matrix y, Matrix e, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
barh
public void barh(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
stem
public void stem(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
pie
public void pie(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
pie3
public void pie3(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
plotmatrix
public void plotmatrix(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
plot
public void plot(Matrix x, Matrix y, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
toString
public static java.lang.String toString(java.lang.String[] strings)
-
getDouble
public double getDouble(java.lang.String label) throws java.lang.Exception- Throws:
java.lang.Exception
-
getLong
public long getLong(java.lang.String label) throws java.lang.Exception- Throws:
java.lang.Exception
-
getInt
public int getInt(java.lang.String label) throws java.lang.Exception- Throws:
java.lang.Exception
-
getFloat
public float getFloat(java.lang.String label) throws java.lang.Exception- Throws:
java.lang.Exception
-
setDouble
public void setDouble(java.lang.String label, double value) throws java.lang.Exception- Throws:
java.lang.Exception
-
setFloat
public void setFloat(java.lang.String label, float value) throws java.lang.Exception- Throws:
java.lang.Exception
-
setInt
public void setInt(java.lang.String label, int value) throws java.lang.Exception- Throws:
java.lang.Exception
-
setLong
public void setLong(java.lang.String label, long value) throws java.lang.Exception- Throws:
java.lang.Exception
-
-
DataMelt 3.0 © DataMelt by jWork.ORG