| MATLAB Function Reference | Search  Help Desk |
| mlock | See Also |
Syntax
mlock
mlock(fun)
Description
mlock
locks the currently running M-file so that subsequent clear commands do not remove it.
mlock(fun)
locks the M-file named fun in memory.
Use the command munlock or munlock(fun) to return the M-file to its normal removable state.
See Also
munlock