| External Interfaces/API Reference | ![]() |
Note
As of MATLAB version 6.5, mxSetLogical is obsolete. Support for mxSetLogical may be removed in a future version.
|
Fortran Syntax
Arguments
pm
Pointer to an mxArray having a numeric class.
Description
Use mxSetLogical to turn on an mxArray's logical flag. This flag, when set, tells MATLAB that the array's data is to be treated as Boolean. If the logical flag is on, then MATLAB treats a 0 value as meaning false and a nonzero value as meaning true. For additional information on the use of logical variables in MATLAB, type help logical at the MATLAB prompt.
See Also
mxClearLogical (Obsolete), mxIsLogical, logical
| mxSetJc | mxSetM | ![]() |