Package net.simplace.sim.wrapper.util
Class MatlabWorkarounds
java.lang.Object
net.simplace.sim.wrapper.util.MatlabWorkarounds
Some workarounds needed by the Matlab scripts to access SimplaceWrapper
- Author:
- Gunther Krauss
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object[][]
unpackArraylists
(Object[][] obj) Converts array lists to arrays As Matlab can not pass an array to an object, it passes it as a list.
-
Constructor Details
-
MatlabWorkarounds
public MatlabWorkarounds()
-
-
Method Details
-
unpackArraylists
Converts array lists to arrays As Matlab can not pass an array to an object, it passes it as a list. This function converts the list back to an array.- Parameters:
obj
- twodimensional Object array that might contain lists- Returns:
- Object array where lists have been converted to Arrays
-