External Interfaces Reference Previous page   Next Page
mxDuplicateArray

Make deep copy of array

Fortran Syntax

Arguments

in
   Pointer to the mxArray that you want to copy.

Returns

Pointer to a copy of the array.

Description

mxDuplicateArray makes a deep copy of an array, and returns a pointer to the copy. A deep copy refers to a copy in which all levels of data are copied. For example, a deep copy of a cell array copies each cell, and the contents of the each cell (if any), and so on.


Previous page  mxDestroyArray mxFree Next page

© 1994-2005 The MathWorks, Inc.