mexIsGlobal (C and Fortran) - Determine whether mxArray has global scope

C Syntax

#include "matrix.h"
bool mexIsGlobal(const mxArray *pm);

Fortran Syntax

integer*4 mexIsGlobal(pm)
mwPointer pm

Arguments

pm

Pointer to an mxArray

Returns

Logical 1 (true) if the mxArray has global scope, and logical 0 (false) otherwise.

Description

Use mexIsGlobal to determine whether the specified mxArray has global scope.

C Examples

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

See Also

mexGetVariable, mexGetVariablePtr, mexPutVariable, global

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS