| MATLAB Function Reference | Search  Help Desk |
| mlock | See Also |
mlock
mlock(fun)
mlock, by itself, 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.
munlock