| MATLAB® | ![]() |
Copy COMPLEX*16 values from Fortran array to pointer array
mxCopyComplex16ToPtr(y, pr, pi, n) complex*16 y(n) mwPointer pr, pi mwSize n
COMPLEX*16 Fortran array
Pointer to the real data of a double-precision MATLAB® array
Pointer to the imaginary data of a double-precision MATLAB array
Number of elements to copy
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.
mxCopyPtrToComplex16, mxCreateNumericArray, mxCreateNumericMatrix, mxGetData, mxGetImagData
![]() | mxCopyCharacterToPtr (Fortran) | mxCopyComplex8ToPtr (Fortran) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |