Main Content
mislocked
Determine if function or script is locked in memory
Description
tf = mislocked(
returns
fun
)true
(logical 1
) if the function or script
fun
is locked in memory. Otherwise, it returns
false
(logical 0).
tf = mislocked
returns true
(logical
1
) if the currently running function is locked in memory.
Otherwise, it returns false
(logical 0).
Use this syntax only within a MATLAB® code file.
Examples
Input Arguments
Tips
To remove a locked function from memory, first unlock it using the
munlock
function, and then clear it from memory using theclear
function.To determine if a MEX file is locked in memory, use the
mexIsLocked
function.
Extended Capabilities
Version History
Introduced before R2006a