| MATLAB® | ![]() |
#include "mex.h" bool mexIsLocked(void);
integer*4 mexIsLocked()
Logical 1 (true) if the MEX-file is locked; logical 0 (false) if the file is unlocked.
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.
See mexlock.c in the mex subdirectory of the examples directory.
mexLock, mexMakeArrayPersistent, mexMakeMemoryPersistent, mexUnlock
![]() | mexIsGlobal (C and Fortran) | mexLock (C and Fortran) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |