External Interfaces Reference Previous page   Next Page
mxIsFromGlobalWS

Determine if mxArray was copied from MATLAB global workspace

C Syntax

Arguments

array_ptr
   Pointer to an mxArray.

Returns

Logical 1 (true) if the array was copied out of the global workspace, and logical 0 (false) otherwise.

Description

mxIsFromGlobalWS is useful for stand-alone MAT programs. mexIsGlobal tells you if the pointer you pass actually points into the global workspace.

Examples

See matdgns.c and matcreat.c in the eng_mat subdirectory of the examples directory.

See Also

mexIsGlobal


Previous page  mxIsFinite mxIsFull (Obsolete) Next page

© 1994-2005 The MathWorks, Inc.