Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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