| MATLAB® | ![]() |
Copy character values from pointer array to Fortran array
mxCopyPtrToCharacter(px, y, n) mwPointer px character*(*) y mwSize n
Pointer to character or name array
character Fortran array
Number of elements to copy
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.
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.
mxCopyCharacterToPtr, mxCreateCharArray, mxCreateString, mxCreateCharMatrixFromStrings
![]() | mxCopyInteger4ToPtr (Fortran) | mxCopyPtrToComplex16 (Fortran) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |