MatlabTypeConverter

public class MatlabTypeConverter

Converts between MATLAB and Java types. Currently only supports numeric arrays. This class is unconditionally thread-safe.

Author:Joshua Kaplan

Constructors

MatlabTypeConverter

public MatlabTypeConverter(MatlabProxy proxy)

Constructs the converter.

Parameters:
  • proxy

Methods

getNumericArray

public MatlabNumericArray getNumericArray(String arrayName)

Retrieves the MATLAB numeric array with the variable name arrayName.

Parameters:
  • arrayName
Throws:
Returns:

the retrieved numeric array

setNumericArray

public void setNumericArray(String arrayName, MatlabNumericArray array)

Stores the array in MATLAB with the variable name arrayName.

Parameters:
  • arrayName – the variable name
  • array
Throws:

toString

public String toString()

Returns a brief description of this converter. The exact details of this representation are unspecified and are subject to change.