Products & Services Industries Academia Support User Community Company

Learn more about MATLAB   

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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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