MatlabProxy.MatlabThreadCallable

public static interface MatlabThreadCallable<T>

Uninterrupted block of computation performed in MATLAB.

Parameters:
  • <T> – type of the data returned by the callable

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

Methods

call

public T call(MatlabThreadProxy proxy)

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
Throws:
Returns:

result of the computation