External Interfaces/API Reference    
mxIsFromGlobalWS

True if the mxArray was copied from MATLAB's global workspace

C Syntax

Arguments
array_ptr
   Pointer to an mxArray.

Returns

true if the array was copied out of the global workspace, and false otherwise.

Description

mxIsFromGlobalWS is useful for stand-alone MAT and engine 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


 mxIsFinite mxIsFull (Obsolete)