External Interfaces Reference Previous page   Next Page
mxCopyPtrToComplex8

Copy COMPLEX*8 values from pointer array to Fortran array

Fortran Syntax

Arguments

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

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

y
   COMPLEX*8 Fortran array.

n
   Number of elements to copy.

Description

mxCopyPtrToComplex8 copies n COMPLEX*8 values from the MATLAB arrays pointed to by pr and pi into the Fortran COMPLEX*8 array y. 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

mxCopyComplex8ToPtr, mxCreateNumericArray, mxCreateNumericMatrix, mxGetData, mxGetImagData


Previous page  mxCopyPtrToCharacter mxCopyPtrToComplex16 Next page

© 1994-2005 The MathWorks, Inc.