External Interfaces Reference Previous page   Next Page
mexIsLocked

Determine if MEX-file is locked

C Syntax

Returns

Logical 1 (true) if the MEX-file is locked; logical 0 (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

© 1994-2005 The MathWorks, Inc.