External Interfaces Reference Previous page   Next Page
mxCopyPtrToCharacter

Copy character values from pointer array to Fortran array

Fortran Syntax

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 Fortran character array y. This subroutine is essential for copying character data from MATLAB pointer arrays into ordinary Fortran character arrays.

Example

See matdemo2.f in the eng_mat subdirectory of the examples directory for a sample program that illustrates how to use this routine in a Fortran program.

See Also

mxCopyCharacterToPtr, mxCreateCharArray, mxCreateString, mxCreateCharMatrixFromStrings


Previous page  mxCopyInteger4ToPtr mxCopyPtrToComplex8 Next page

© 1994-2005 The MathWorks, Inc.