External Interfaces Reference Previous page   Next Page
mxIsEmpty

Determine if mxArray is empty

C Syntax

Arguments

array_ptr
   Pointer to an array.

Returns

Logical 1 (true) if the mxArray is empty, and logical 0 (false) otherwise.

Description

Use mxIsEmpty to determine if an mxArray contains no data. An mxArray is empty if the size of any of its dimensions is 0.

Note that mxIsEmpty is not the opposite of mxIsFull.

Examples

See mxisfinite.c in the mx subdirectory of the examples directory.

See Also

mxIsClass


Previous page  mxIsDouble mxIsFinite Next page

© 1994-2005 The MathWorks, Inc.