matlab mxgetlogicals函数语法

发表matlab mxgetlogicals函数相关文章
一句话说明: Pointer to logical array data

mxGetLogicals (C)

Pointer to logical array data

C Syntax

#include "matrix.h"
mxLogical *mxGetLogicals(const mxArray *array_ptr);

Arguments

array_ptr

Pointer to an mxArray

Returns

Pointer to the first logical element in the mxArray. The result is unspecified if the mxArray is not a logical array.

Description

Call mxGetLogicals to access the first logical element in the mxArray that array_ptr points to. Once you have the starting address, you can access any other element in the mxArray.

Examples

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

See Also

mxCreateLogicalArray, mxCreateLogicalMatrix, mxCreateLogicalScalar, mxIsLogical, mxIsLogicalScalar, mxIsLogicalScalarTrue

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

与matlab mxgetlogicals用法相关的文章

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