REAL
*8
values between Fortran and pointer arrays.
subroutinemxCopyPtrToReal8(px,y,n)
subroutinemxCopyReal8ToPtr(y,px,n)
real*8 y(n)
integer*4 px, n
n
px
pr
or pi
array
y
REAL*8
Fortran array
REAL*8
values between MATLAB pr
or pi
arrays and Fortran REAL*8
arrays. They are 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.
mxCopyPtrToReal8(px,y,n)
copies n
REAL
*8
values from the MATLAB array pointed to by px
into the Fortran REAL*8
array y
.
mxCopyReal8ToPtr(y,px,n)
copies n
REAL*8
values from the Fortran REAL*8
array y
into the MATLAB array pointed to by px
.
(c) Copyright 1994 by The MathWorks, Inc.