matlab mxiscell函数语法

发表matlab mxiscell函数相关文章
一句话说明: Determine whether input is cell array

mxIsCell (C and Fortran)

Determine whether input is cell array

C Syntax

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

Fortran Syntax

integer*4 mxIsCell(pm)
mwPointer pm

Arguments

pm

Pointer to an mxArray

Returns

Logical 1 (true) if pm points to an array having the class mxCELL_CLASS, and logical 0 (false) otherwise.

Description

Use mxIsCell to determine whether the specified array is a cell array.

In C, calling mxIsCell is equivalent to calling:

mxGetClassID(pm) == mxCELL_CLASS

In Fortran, calling mxIsCell is equivalent to calling:

mxGetClassName(pm) .eq. 'cell'

    Note   mxIsCell does not answer the question "Is this mxArray a cell of a cell array?" An individual cell of a cell array can be of any type.

See Also

mxIsClass

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

与matlab mxiscell用法相关的文章

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