matlab mxcopyptrtoptrarray函数语法

发表matlab mxcopyptrtoptrarray函数相关文章
一句话说明: Pointer values from pointer array to Fortran array

mxCopyPtrToPtrArray (Fortran)

Pointer values from pointer array to Fortran array

Fortran Syntax

subroutine mxCopyPtrToPtrArray(px, y, n)
mwPointer px
mwPointer y(n)
mwSize n

Arguments

px

Pointer to pointer array

y

Fortran array of mwPointer values

n

Number 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

See the following examples in matlabroot/extern/examples/eng_mat.

See Also

matGetDir, mxCopyPtrToCharacter

欢迎转载,转载请注明来自一手册:http://yishouce.com/matlab/func/mxcopyptrtoptrarray

与matlab mxcopyptrtoptrarray用法相关的文章

友情链接It题库(ittiku.com)| 版权归yishouce.com所有| 友链等可联系 admin#yishouce.com|粤ICP备16001685号-1