Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the 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?