NET.convertArray
(Not recommended) Convert numeric MATLAB array to .NET array
NET.convertArray is not recommended. MATLAB® automatically converts arrays to .NET types. For information, see Version History.
Syntax
Description
converts a MATLAB array to a .NET array of type arrObj = NET.convertArray(V,arrType,[m,n,p,...])arrType. If you do not
specify arrType, then MATLAB converts the array according to the MATLAB Primitive Type Conversion Table. See Pass Primitive .NET Types. To convert a MATLAB vector to a two-dimensional .NET array (either 1-by-n or
m-by-1), use optional values m,n,p,.... If
V is a MATLAB vector and you do not specify the number of dimensions and their sizes, then
arrObj is a one-dimensional .NET array.