mxCopyPtrToCharacter (Fortran) - CHARACTER values from pointer array to Fortran array - MATLAB (original) (raw)
Main Content
CHARACTER values from pointer array to Fortran array
Fortran Syntax
#include "fintrf.h" subroutine mxCopyPtrToCharacter(px, y, n) mwPointer px character*(*) y mwSize n
Arguments
px
Pointer to character
or name
array
y
character
Fortran array
n
Number of elements to copy
Description
mxCopyPtrToCharacter
copies n
character
values from the MATLABĀ® array pointed to by px
into the Fortrancharacter
array y
. This subroutine is essential for copying character data from MATLAB pointer arrays into ordinary Fortran character
arrays.
Examples
See these examples in_`matlabroot`_/extern/examples/eng_mat
:
Version History
Introduced before R2006a