External Interfaces Reference Previous page   Next Page
mxCopyComplex16ToPtr

Copy COMPLEX*16 values from Fortran array to pointer array

Fortran Syntax

Arguments

y
   COMPLEX*16 Fortran array.

pr
   Pointer to the real data of a double-precision MATLAB array.

pi
   Pointer to the imaginary data of a double-precision MATLAB array.

n
   Number of elements to copy.

Description

mxCopyComplex16ToPtr copies n COMPLEX*16 values from the Fortran COMPLEX*16 array y into the MATLAB arrays pointed to by pr and pi. This subroutine is essential for use with Fortran compilers that do not support the %VAL construct in order to set up standard Fortran arrays for passing as arguments to the computation routine of a MEX-file.

See Also

mxCopyPtrToComplex16, mxCreateNumericArray, mxCreateNumericMatrix, mxGetData, mxGetImagData


Previous page  mxCopyComplex8ToPtr mxCopyInteger1ToPtr Next page

© 1994-2005 The MathWorks, Inc.