External Interfaces/API    

Concatenating Java Arrays

You can concatenate arrays of Java objects in the same way as arrays of other data types. (To understand how scalar Java objects are concatenated by MATLAB see Concatenating Java Objects.)

Use either the cat function or the square bracket ([]) operators. This example horizontally concatenates two Java arrays: d1, and d2.


  Assigning to a Java Array Creating a New Array Reference