public interface MWInvokable
MWClient.createComponentProxy()
is an
implementation of this interface.Modifier and Type | Method and Description |
---|---|
<T> T |
invoke(java.lang.String functionName,
java.lang.Class<T> targetType,
java.lang.Object... inputs)
Invokes a MATLAB function that returns a single value.
|
<T> T |
invoke(java.lang.String functionName,
int nargout,
java.lang.Class<T> targetType,
java.lang.Object... inputs)
Invokes a MATLAB function that returns multiple values.
|
void |
invokeVoid(java.lang.String functionName,
java.lang.Object... inputs)
Invokes a MATLAB function that does not return a value.
|
<T> T invoke(java.lang.String functionName, int nargout, java.lang.Class<T> targetType, java.lang.Object... inputs) throws java.lang.Throwable
T
- The type of the returned objectfunctionName
- Name of the MATLAB function to be invokednargout
- Number of output argumentstargetType
- Java type for MATLAB outputinputs
- Parameters passed to MATLAB functionjava.lang.Throwable
<T> T invoke(java.lang.String functionName, java.lang.Class<T> targetType, java.lang.Object... inputs) throws java.lang.Throwable
T
- The type of the returned objectfunctionName
- Name of the MATLAB function to be invokedtargetType
- Java type for MATLAB outputinputs
- Parameters passed to MATLAB functionjava.lang.Throwable
void invokeVoid(java.lang.String functionName, java.lang.Object... inputs) throws java.lang.Throwable
functionName
- inputs
- java.lang.Throwable
Copyright 2010-2013 The MathWorks, Inc.