Skip to Main Content Skip to Search
Product Documentation

NET.createArray - Package: NET

Array for nonprimitive .NET types

Syntax

array = NET.createArray(typeName, [m,n,p,...])
array = NET.createArray(typeName, m,n,p,...)

Description

array = NET.createArray(typeName, [m,n,p,...]) creates an m-by-n-by-p-by-... array of type typeName, which is either a fully qualified .NET array type name (namespace and array type name) or an instance of the NET.GenericClass class, in case of arrays of generic type. m,n,p,... are the number of elements in each dimension of the array.

array = NET.createArray(typeName, m,n,p,...) alternative syntax for creating an array.

You cannot specify the lower bound of an array or create a jagged array.

See Also

NET.convertArray | NET.createGeneric

  


» Learn more
» Download free kit
» Get trial software

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS