mxCopyPtrToPtrArray (Fortran)
Pointer values from pointer array to Fortran array
Fortran Syntax
#include "fintrf.h" subroutine mxCopyPtrToPtrArray(px, y, n) mwPointer px mwPointer y(n) mwSize n
Arguments
pxPointer to pointer array
yFortran array of
mwPointervaluesnNumber of pointers to copy
Description
mxCopyPtrToPtrArray copies n pointers from the
MATLAB® array pointed to by px into the Fortran array
y. This subroutine is essential for copying the output of
matGetDir into an array of pointers. After calling this
function, each element of y contains a pointer to a string. You can
convert these strings to Fortran character arrays by passing each element of
y as the first argument to
mxCopyPtrToCharacter.
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","eng_mat","filename")]);
where filename is:
Version History
Introduced before R2006a