MATLAB Compiler Previous page   Next Page

mwArray(const mwArray& arr)

mwArray copy constructor. Constructs a new array from an existing one.

C++ syntax

Arguments

arr.   mwArray to copy

Return value

None

Description

Use this constructor to create a copy of an existing array. The new array contains a deep copy of the input array.


Previous page  mwArray(int num_dims, const int* dims, int num_fields, const char** fieldnames) mwArray(<type> re) Next page

© 1994-2005 The MathWorks, Inc.