| External Interfaces/API Reference | ![]() |
True if scalar mxArray of class mxLOGICAL
C Syntax
Arguments
array_ptr
Pointer to an mxArray.
Returns
true if the mxArray is of class mxLOGICAL and has 1-by-1 dimensions, and false otherwise.
Description
Use mxIsLogicalScalar to determine whether MATLAB treats the scalar data in the mxArray as logical or numerical. For additional information on the use of logical variables in MATLAB, type help logical at the MATLAB prompt.
mxIsLogicalScalar(pa) is equivalent to
See Also
mxIsLogicalScalarTrue, mxIsLogical, mxGetLogicals, mxGetScalar
| mxIsLogical | mxIsLogicalScalarTrue | ![]() |