javaArray
Construct Java array object
Description
constructs
an empty Java® array
object for objects of the specified ObjArr
= javaArray(PackageName.ClassName
,x1,...,xN
)PackageName.ClassName
class. The array created by javaArray
is
equivalent to the array created by the following Java code.
A = new PackageName.ClassName[x1]...[xN];
Examples
Input Arguments
Output Arguments
More About
Tips
To create an array of primitive Java types, create an array of the equivalent MATLAB type. For more information, see MATLAB Type to Java Type Mapping.
Version History
Introduced before R2006a
See Also
javaObject
| javaMethod
| class
| methodsview
| isjava