matlab mxislogicalscalartrue函数语法

发表matlab mxislogicalscalartrue函数相关文章
一句话说明: Determine whether scalar array of type mxLogical is true

mxIsLogicalScalarTrue (C)

Determine whether scalar array of type mxLogical is true

C Syntax

#include "matrix.h"
bool mxIsLogicalScalarTrue(const mxArray *array_ptr);

Arguments

array_ptr

Pointer to an mxArray

Returns

Logical 1 (true) if the value of the mxArray's logical, scalar element is true, and logical 0 (false) otherwise.

Description

Use mxIsLogicalScalarTrue to determine whether the value of a scalar mxArray is true or false. For additional information on the use of logical variables in MATLAB® software, type help logical at the MATLAB prompt.

See Also

mxIsLogical, mxIsLogicalScalar, mxGetLogicals, mxGetScalar

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

与matlab mxislogicalscalartrue用法相关的文章

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