mislocked - Determine whether M-file or MEX-file cannot be cleared from memory

Syntax

mislocked
mislocked(fun)

Description

mislocked by itself returns logical 1 (true) if the currently running M-file or MEX-file is locked, and logical 0 (false) otherwise.

mislocked(fun) returns logical 1 (true) if the function named fun is locked in memory, and logical 0 (false) otherwise. Locked M-files and MEX-files cannot be removed with the clear function.

See Also

mlock, munlock

  


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