User`s guide

mwArray SharedCopy() const
Purpose Return new array representing shared copy of array
C++
Syntax
#include "mclcppclass. h"
mwArray a(2, 2, mxDOUBLE_CLASS);
mwArray b = a.SharedCopy();
Arguments None
Return
Value
New mwArray representing a reference counted versi o n of the or iginal.
Description Use this method to create a shared copy of an existing array. The new
array and the original array b oth point to the same data.
C-46