| MATLAB Application Program Interface | Search  Help Desk |
| mxCopyComplex16ToPtr | See Also |
Copy COMPLEX*16 values from a Fortran array to a pointer array
subroutine mxCopyComplex16ToPtr(y, pr, pi, n) complex*16 y(n) integer*4 pr, pi, nn
pi array.
pr
pr array.
y
COMPLEX*16 Fortran array.
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