External Interfaces Reference |
Note
As of MATLAB version 6.5, mxClearLogical is obsolete. Support for mxClearLogical may be removed in a future version.
|
C Syntax
Arguments
array_ptr
Pointer to an mxArray
having a numeric class.
Description
Use mxClearLogical
to turn off the mxArray
's logical flag. This flag, when cleared, tells MATLAB to treat the mxArray
's data as numeric data rather than as Boolean data. If the logical flag is on, then MATLAB treats a 0 value as meaning false
and a nonzero value as meaning true
.
Call mxCreateLogicalScalar
, mxCreateLogicalMatrix
, mxCreateNumericArray
, or mxCreateSparseLogicalMatrix
to turn on the mxArray
's logical flag. For additional information on the use of logical variables in MATLAB, type help logical
at the MATLAB prompt.
Examples
See mxislogical.c
in the mx
subdirectory of the examples
directory.
See Also
mxClassID | mxComplexity |
© 1994-2005 The MathWorks, Inc.