LocalMatlabProxy

class LocalMatlabProxy extends MatlabProxy

Allows for calling MATLAB from inside of MATLAB.

Author:Joshua Kaplan

Constructors

LocalMatlabProxy

LocalMatlabProxy(Identifier id)

Methods

disconnect

public boolean disconnect()

eval

public void eval(String command)

exit

public void exit()

feval

public void feval(String functionName, Object... args)

getVariable

public Object getVariable(String variableName)

invokeAndWait

public <T> T invokeAndWait(MatlabThreadCallable<T> callable)

isConnected

public boolean isConnected()

isRunningInsideMatlab

public boolean isRunningInsideMatlab()

returningEval

public Object[] returningEval(String command, int nargout)

returningFeval

public Object[] returningFeval(String functionName, int nargout, Object... args)

setVariable

public void setVariable(String variableName, Object value)