Documentation Center

  • Trial Software
  • Product Updates

Contents

mexIsGlobal (C and Fortran)

Determine if variable has global scope

mexIsGlobal has been removed. Use mxIsFromGlobalWS instead.

C Syntax

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

Fortran Syntax

#include "fintrf.h"
integer*4 mexIsGlobal(pm)
mwPointer pm

Arguments

pm

Pointer to an mxArray

Returns

Logical 0 (false).

Description

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

Examples

See the following examples in matlabroot/extern/examples/mx.

Was this topic helpful?