User`s guide

mwArray Clone() const
Purpose Return new array representing deep copy of array
C++
Syntax
#include "mclcppclass. h"
mwArray a(2, 2, mxDOUBLE_CLASS);
mwArray b = a.Clone();
Arguments None
Return
Value
New mwArray representing a deep copy of the original.
Description Use this method to create a copy of an existing array. The new array
contains a deep copy of the input array.
C-45