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 matlabroot/extern/examples/mx folder
.
See Also
mexGetVariable, mexGetVariablePtr, mexPutVariable, global
 | mexGetVariablePtr (C and Fortran) | | mexIsLocked (C and Fortran) |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit