External Interfaces Previous page   Next Page

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.


Previous page  Assigning to a Java Array Creating a New Array Reference Next page

© 1994-2005 The MathWorks, Inc.