Package org.ujmp.core.util
Class Matlab
java.lang.Object
org.ujmp.core.util.Matlab
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BufferedReader
private BufferedReader
private static Matlab
static final String
private Process
private BufferedWriter
private static String
private boolean
static String[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
private static String
double
float
private String
static Matlab
static Matlab
getInstance
(String pathToMatlab) int
long
void
void
static boolean
void
void
void
void
void
plotmatrix
(Matrix matrix, String... format) private void
sendToMatlab
(String command) void
void
void
void
void
void
shutdown()
void
void
static String
-
Field Details
-
SEARCH
-
MATLABPARAMETERS
- See Also:
-
pathToMatlab
-
input
-
output
-
error
-
matlabProcess
-
running
private boolean running -
matlab
-
-
Constructor Details
-
Matlab
- Throws:
Exception
-
-
Method Details
-
getInstance
- Throws:
Exception
-
findMatlab
-
getInstance
- Throws:
Exception
-
getFromMatlab
- Throws:
Exception
-
execute
- Throws:
Exception
-
shutdown
- Throws:
Exception
-
sendToMatlab
- Throws:
Exception
-
setMatrix
- Throws:
Exception
-
getMatrix
- Throws:
Exception
-
isAvailable
public static boolean isAvailable() -
plot
- Throws:
Exception
-
hist
- Throws:
Exception
-
surf
- Throws:
Exception
-
imagesc
- Throws:
Exception
-
bar
- Throws:
Exception
-
errorbar
- Throws:
Exception
-
barh
- Throws:
Exception
-
stem
- Throws:
Exception
-
pie
- Throws:
Exception
-
pie3
- Throws:
Exception
-
plotmatrix
- Throws:
Exception
-
plot
- Throws:
Exception
-
toString
-
getDouble
- Throws:
Exception
-
getLong
- Throws:
Exception
-
getInt
- Throws:
Exception
-
getFloat
- Throws:
Exception
-
setDouble
- Throws:
Exception
-
setFloat
- Throws:
Exception
-
setInt
- Throws:
Exception
-
setLong
- Throws:
Exception
-