There is no such thing as 'java-type' arrays of arrays in matlab. You can have matlab's own cell arrays of arrays and this is what you have right now. Also there is no 'direct' translation of cell arrays in matlab to java data structures (check here for more info on translating matlab data to java).
Quickly I can see three possible ways you could consider:
- Convert your
results
into string representation of array, pass this string to java, and then convert it back to what ever structure you want. - Since cells go into java as array of objects (i.e.
Object[]
), you could work with these arrays in java to make them into what you want. - You could also make java structures directly in matlab, i.e. before passing them into your java class/method. Thus, you could convert
results
cell into some java array (e.g. java array of arrays) or whatever. This is possible, because in matlab you can use java code and java data structures. Check here for more info on using java in matlab.