mexIsLocked (C and Fortran) - Determine whether MEX-file is locked
C Syntax
#include "mex.h"
bool mexIsLocked(void);
Fortran Syntax
integer*4 mexIsLocked()
Returns
Logical 1 (true) if the
MEX-file is locked; logical 0 (false)
if the file is unlocked.
Description
Call mexIsLocked to determine whether the
MEX-file is locked. By default, MEX-files are unlocked, meaning that
users can clear the MEX-file at any time.
To unlock a MEX-file, call mexUnlock.
C Examples
See mexlock.c
in the matlabroot/extern/examples/mex folder
.
See Also
mexLock, mexMakeArrayPersistent, mexMakeMemoryPersistent, mexUnlock
 | mexIsGlobal (C and Fortran) | | mexLock (C and Fortran) |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit