MATLAB Function Reference Previous page   Next Page
mislocked

Determine if M-file or MEX-file cannot be cleared from memory

Syntax

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


Previous page  minres mkdir Next page

© 1994-2005 The MathWorks, Inc.