Main Content

mxLogical (C)

Type for logical array

Description

All logical mxArrays store their data elements as mxLogical rather than as bool.

The header file containing this type is:

#include "matrix.h"

Examples

To open an example, type:

edit([fullfile(matlabroot,"extern","examples","mx","filename")]);

where filename is:

Tips

  • For information about data in MATLAB® language scripts and functions, see Data Types.

Version History

Introduced before R2006a