matlab mxisempty函数语法

发表matlab mxisempty函数相关文章
一句话说明: Determine whether array is empty

mxIsEmpty (C and Fortran)

Determine whether array is empty

C Syntax

#include "matrix.h"
bool mxIsEmpty(const mxArray *pm);

Fortran Syntax

integer*4 mxIsEmpty(pm)
mwPointer pm

Arguments

pm

Pointer to an mxArray

Returns

Logical 1 (true) if the mxArray is empty, and logical 0 (false) otherwise.

Description

Use mxIsEmpty to determine whether an mxArray contains no data. An mxArray is empty if the size of any of its dimensions is 0.

Examples

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

See Also

mxIsClass

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

与matlab mxisempty用法相关的文章

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