Convert Arrays

Convert array to pass by reference, not by value

Fortran Functions

mxCopyReal8ToPtr REAL*8 values from Fortran array to pointer array
mxCopyPtrToReal8 REAL*8 values from pointer array to Fortran array
mxCopyReal4ToPtr REAL*4 values from Fortran array to pointer array
mxCopyPtrToReal4 REAL*4 values from pointer array to Fortran array
mxCopyComplex16ToPtr COMPLEX*16 values from Fortran array to pointer array
mxCopyPtrToComplex16 COMPLEX*16 values from pointer array to Fortran array
mxCopyComplex8ToPtr COMPLEX*8 values from Fortran array to pointer array
mxCopyPtrToComplex8 COMPLEX*8 values from pointer array to Fortran array
mxCopyInteger4ToPtr INTEGER*4 values from Fortran array to pointer array
mxCopyPtrToInteger4 INTEGER*4 values from pointer array to Fortran array
mxCopyInteger2ToPtr INTEGER*2 values from Fortran array to pointer array
mxCopyPtrToInteger2 INTEGER*2 values from pointer array to Fortran array
mxCopyInteger1ToPtr INTEGER*1 values from Fortran array to pointer array
mxCopyPtrToInteger1 INTEGER*1 values from pointer array to Fortran array
mxCopyCharacterToPtr CHARACTER values from Fortran array to pointer array
mxCopyPtrToCharacter CHARACTER values from pointer array to Fortran array
mxGetString String array to C-style string
mxCopyPtrToPtrArray Pointer values from pointer array to Fortran array
Was this topic helpful?