mat4j.engines
Class MatlabEngine

java.lang.Object
  extended by mat4j.engines.MatEngine
      extended by mat4j.engines.MatlabEngine

public class MatlabEngine
extends MatEngine


Constructor Summary
MatlabEngine()
           
 
Method Summary
 void close()
           
 boolean eval(java.lang.String command)
           
 java.awt.image.BufferedImage getImage(java.lang.String hFigureVarName)
           
 java.lang.String getOutput()
           
 MatObj getVariable(java.lang.String name)
           
 boolean getVisible()
          MS Windows only
 boolean open(java.lang.String arguments)
           
 boolean putVariable(java.lang.String name, MatObj value)
           
 void setVisible(boolean vis)
          MS Windows only
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatlabEngine

public MatlabEngine()
Method Detail

open

public boolean open(java.lang.String arguments)
Specified by:
open in class MatEngine

close

public void close()
Specified by:
close in class MatEngine

eval

public boolean eval(java.lang.String command)
Specified by:
eval in class MatEngine

getOutput

public java.lang.String getOutput()
Specified by:
getOutput in class MatEngine

getVariable

public MatObj getVariable(java.lang.String name)
Specified by:
getVariable in class MatEngine

putVariable

public boolean putVariable(java.lang.String name,
                           MatObj value)
Specified by:
putVariable in class MatEngine

getVisible

public boolean getVisible()
MS Windows only


setVisible

public void setVisible(boolean vis)
MS Windows only


getImage

public java.awt.image.BufferedImage getImage(java.lang.String hFigureVarName)
Parameters:
hFigureVarName - variable name of matlabs figure handle