External Interfaces Reference Previous page   Next Page
mxIsLogicalScalarTrue

Determine if scalar mxArray of class mxLogical is true

C Syntax

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, type help logical at the MATLAB prompt.

mxIsLogicalScalarTrue(pa) is equivalent to

See Also

mxIsLogicalScalar, mxIsLogical, mxGetLogicals, mxGetScalar


Previous page  mxIsLogicalScalar mxIsNaN Next page

© 1994-2005 The MathWorks, Inc.