public class MATLABParams extends 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.
|
Class |
getTargetType()
Returns the expected target type.
|
static MATLABParams |
newInstance(int nargout,
Class targetType,
MWMarshalingRules mwMarshalingRules,
Object... inputs)
Creates a MATLABParams object.
|
static MATLABParams |
newInstance(int nargout,
Class targetType,
Object... inputs)
Creates a MATLABParams object.
|
void |
writeTo(OutputStream outputStream)
Writes a byte array corresponding to the MatlabParams object to this output stream.
|
public static MATLABParams newInstance(int nargout, Class targetType, MWMarshalingRules mwMarshalingRules, 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, Class targetType, 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 Class getTargetType()
public MWMarshalingRules getMwMarshalingRules()
MWMarshalingRules.public byte[] getRequestBody()
public void writeTo(OutputStream outputStream) throws IOException
outputStream - IOExceptionCopyright © 2015–2024. All rights reserved.