Main Content
mxCreateDoubleMatrix (C)
2-D, double-precision, floating-point array
C Syntax
#include "matrix.h" mxArray *mxCreateDoubleMatrix(mwSize m, mwSize n, mxComplexity ComplexFlag);
Description
Use mxCreateDoubleMatrix
to create an
m
-by-n
mxArray
.
Call mxDestroyArray
when you finish using the
mxArray
. The mxDestroyArray
function deallocates the
mxArray
and its associated real and imaginary elements.
Input Arguments
Output Arguments
Examples
See these examples in
:matlabroot
/extern/examples/refbook
Version History
Introduced before R2006a