Main Content
mxCopyCharacterToPtr (Fortran)
CHARACTER values from Fortran array to pointer array
Fortran Syntax
#include "fintrf.h" subroutine mxCopyCharacterToPtr(y, px, n) character*(*) y mwPointer px mwSize n
Arguments
y
character
Fortran arraypx
Pointer to
character
orname
arrayn
Number of elements to copy
Description
mxCopyCharacterToPtr
copies n
character
values from the Fortran character
array
y
into the MATLAB® character vector pointed to by px
. This subroutine is
essential for copying character data between MATLAB pointer arrays and ordinary Fortran character
arrays.
Version History
Introduced before R2006a