Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

| |

Introduced before R2006a

Was this topic helpful?