GraphLab Project

graphlab.plugins.connector.matlab
Class MatlabRunner

java.lang.Object
  extended by graphlab.plugins.connector.matlab.MatlabRunner

public class MatlabRunner
extends java.lang.Object

Author:
Azin Azadi , Mohammad Ali Rostami

Field Summary
static jmatlink.JMatLink engine
           
 
Constructor Summary
MatlabRunner()
           
 
Method Summary
static java.lang.String matlabRunner(java.io.File matlabfile, java.lang.Object[] params)
          runs the given matlab (.m) file as a function with the given params as the inputs of function in the Matlab environment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

engine

public static jmatlink.JMatLink engine
Constructor Detail

MatlabRunner

public MatlabRunner()
Method Detail

matlabRunner

public static java.lang.String matlabRunner(java.io.File matlabfile,
                                            java.lang.Object[] params)
                                     throws java.io.FileNotFoundException,
                                            java.lang.IllegalAccessException,
                                            java.lang.reflect.InvocationTargetException
runs the given matlab (.m) file as a function with the given params as the inputs of function in the Matlab environment.

Parameters:
matlabfile -
params -
Returns:
the result of function
Throws:
java.io.FileNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

GraphLab Project