External Interfaces/API Reference Previous page   Next Page
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


Previous page  mexIsInf (Obsolete) mexIsNaN (Obsolete) Next page

Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS