Skip to Main Content Skip to Search
Product Documentation

mislocked - Determine if function is locked in memory

Syntax

mislocked
mislocked(fun)

Description

mislocked by itself returns logical 1 (true) if the currently running function is locked in memory, and logical 0 (false) otherwise. Functions that are locked cannot be removed with the clear function unless you first unlock them using the munlock function. You can use locking on functions that reside in MATLAB .m files or .mex files.

mislocked(fun) returns logical 1 (true) if the function named fun is locked in memory, and logical 0 (false) otherwise.

See Also

inmem | mlock | munlock

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS