External Interfaces Reference Previous page   Next Page
mxGetLogicals

Get pointer to logical array data

C Syntax

Arguments

array_ptr
   Pointer to an mxArray.

Returns

The address of the first logical in the mxArray. Returns NULL if the specified array is not a logical array.

Description

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.

See Also

mxIsLogical, mxIsLogicalScalar, mxIsLogicalScalarTrue, mxCreateLogicalScalar, mxCreateLogicalMatrix, mxCreateLogicalArray


Previous page  mxGetJc mxGetM Next page

© 1994-2005 The MathWorks, Inc.