MATLAB Application Program Interface Reference | Help Desk |
mexUnlock
Unlock this MEX-file so that it can be cleared from memory
#include "mex.h" void mexUnlock(void);By default, MEX-files are unlocked, meaning that a user can clear them at any time. Calling
mexLock
locks a MEX-file so that it cannot be cleared. Calling mexUnlock
removes the lock so that a MEX-file can be cleared.
mexIsLocked
, mexLock
, mexMakeArrayPersistent
, mexMakeMemoryPersistent