matlabcontrol
Interface MatlabProxy.MatlabThreadCallable<T>

Type Parameters:
T - type of the data returned by the callable
Enclosing class:
MatlabProxy

public static interface MatlabProxy.MatlabThreadCallable<T>

Uninterrupted block of computation performed in MATLAB.

See Also:
MatlabProxy.invokeAndWait(matlabcontrol.MatlabProxy.MatlabThreadCallable)

Method Summary
 T call(MatlabProxy.MatlabThreadProxy proxy)
          Performs the computation in MATLAB.
 

Method Detail

call

T call(MatlabProxy.MatlabThreadProxy proxy)
       throws MatlabInvocationException
Performs the computation in MATLAB. The proxy provided will invoke its methods directly on MATLAB's main thread without delay. This proxy should be used to interact with MATLAB, not a MatlabProxy (or any class delegating to it).

Parameters:
proxy -
Returns:
result of the computation
Throws:
MatlabInvocationException