| MATLAB® | ![]() |
#include "matrix.h" mxLogical *mxGetLogicals(const mxArray *array_ptr);
Pointer to an mxArray
The address of the first logical element in the mxArray. The result is unspecified if the mxArray is not a logical array.
Call mxGetLogicals to determine the address of the first logical element in the mxArray that array_ptr points to. Once you have the starting address, you can access any other element in the mxArray.
mxCreateLogicalArray, mxCreateLogicalMatrix, mxCreateLogicalScalar, mxIsLogical, mxIsLogicalScalar, mxIsLogicalScalarTrue
![]() | mxGetJc (C and Fortran) | mxGetM (C and Fortran) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |