mlock

Locks the function into memory meaning it cannot be cleared.

Syntax

mlock()

Example

Simple mlock example.

function f
disp('called')
mlock()
end
f()
called