public class MATLABParams
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
MWMarshalingRules |
getMwMarshalingRules()
Returns an object of type
MWMarshalingRules. |
int |
getNargout()
Returns the number of output arguments returned by the MATLAB function.
|
byte[] |
getRequestBody()
Constructs a byte array corresponding to the HTTP request body.
|
java.lang.Class |
getTargetType()
Returns the expected target type.
|
static MATLABParams |
newInstance(int nargout,
java.lang.Class targetType,
MWMarshalingRules mwMarshalingRules,
java.lang.Object... inputs)
Creates a MATLABParams object.
|
static MATLABParams |
newInstance(int nargout,
java.lang.Class targetType,
java.lang.Object... inputs)
Creates a MATLABParams object.
|
void |
writeTo(java.io.OutputStream outputStream)
Writes a byte array corresponding to the MatlabParams object to this output stream.
|
public static MATLABParams newInstance(int nargout, java.lang.Class targetType, MWMarshalingRules mwMarshalingRules, java.lang.Object... inputs)
inputs - Array of objects representing the inputs sent to the MATLAB function deployed on MATLAB Production Servernargout - Expected number of output argumentstargetType - Expected target output typemwMarshalingRules - Marshaling rules that contain a list of Java classes marshaled as MATLAB structures; if null,
use the overloaded newInstance methodpublic static MATLABParams newInstance(int nargout, java.lang.Class targetType, java.lang.Object... inputs)
inputs - Array of objects representing the inputs sent to the MATLAB function deployed on MATLAB Production Servernargout - Expected number of output argumentstargetType - Expected target output typepublic int getNargout()
public java.lang.Class getTargetType()
public MWMarshalingRules getMwMarshalingRules()
MWMarshalingRules.public byte[] getRequestBody()
public void writeTo(java.io.OutputStream outputStream)
throws java.io.IOException
outputStream - java.io.IOExceptionCopyright 2010-2022 The MathWorks, Inc.