External Interfaces/API Reference    
mexIsLocked

Determine if this MEX-file is locked

C Syntax

Returns

True if the MEX-file is locked; False if the file is unlocked.

Description

Call mexIsLocked to determine if 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.

Examples

See mexlock.c in the mex subdirectory of the examples directory.

See Also

mexLock, mexMakeArrayPersistent, mexMakeMemoryPersistent, mexUnlock


  mexIsInf (Obsolete) mexIsNaN (Obsolete)