org.ujmp.core.util
Class Matlab

java.lang.Object
  extended by org.ujmp.core.util.Matlab

public class Matlab
extends Object


Field Summary
static String MATLABPARAMETERS
           
static String[] SEARCH
           
 
Method Summary
 void bar(Matrix matrix, String... format)
           
 void barh(Matrix matrix, String... format)
           
 void errorbar(Matrix x, Matrix y, Matrix e, String... format)
           
 String execute(String command)
           
static Matlab getInstance()
           
static Matlab getInstance(String pathToMatlab)
           
 Matrix getMatrix(String label)
           
 void hist(Matrix matrix, String... format)
           
 void imagesc(Matrix matrix, String... format)
           
static boolean isAvailable()
           
 void pie(Matrix matrix, String... format)
           
 void pie3(Matrix matrix, String... format)
           
 void plot(Matrix x, Matrix y, String... format)
           
 void plot(Matrix matrix, String... format)
           
 void plotmatrix(Matrix matrix, String... format)
           
 void setMatrix(String label, Matrix matrix)
           
 void shutdown()
           
 void stem(Matrix matrix, String... format)
           
 void surf(Matrix matrix, String... format)
           
static String toString(String[] strings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEARCH

public static String[] SEARCH

MATLABPARAMETERS

public static final String MATLABPARAMETERS
See Also:
Constant Field Values
Method Detail

getInstance

public static Matlab getInstance()
                          throws Exception
Throws:
Exception

getInstance

public static Matlab getInstance(String pathToMatlab)
                          throws Exception
Throws:
Exception

execute

public String execute(String command)
               throws Exception
Throws:
Exception

shutdown

public void shutdown()
              throws Exception
Throws:
Exception

setMatrix

public void setMatrix(String label,
                      Matrix matrix)
               throws Exception
Throws:
Exception

getMatrix

public Matrix getMatrix(String label)
                 throws Exception
Throws:
Exception

isAvailable

public static boolean isAvailable()

plot

public void plot(Matrix matrix,
                 String... format)
          throws Exception
Throws:
Exception

hist

public void hist(Matrix matrix,
                 String... format)
          throws Exception
Throws:
Exception

surf

public void surf(Matrix matrix,
                 String... format)
          throws Exception
Throws:
Exception

imagesc

public void imagesc(Matrix matrix,
                    String... format)
             throws Exception
Throws:
Exception

bar

public void bar(Matrix matrix,
                String... format)
         throws Exception
Throws:
Exception

errorbar

public void errorbar(Matrix x,
                     Matrix y,
                     Matrix e,
                     String... format)
              throws Exception
Throws:
Exception

barh

public void barh(Matrix matrix,
                 String... format)
          throws Exception
Throws:
Exception

stem

public void stem(Matrix matrix,
                 String... format)
          throws Exception
Throws:
Exception

pie

public void pie(Matrix matrix,
                String... format)
         throws Exception
Throws:
Exception

pie3

public void pie3(Matrix matrix,
                 String... format)
          throws Exception
Throws:
Exception

plotmatrix

public void plotmatrix(Matrix matrix,
                       String... format)
                throws Exception
Throws:
Exception

plot

public void plot(Matrix x,
                 Matrix y,
                 String... format)
          throws Exception
Throws:
Exception

toString

public static String toString(String[] strings)


Copyright © 2010. All Rights Reserved.