MATLAB Function Reference
  Go to function:
    Search    Help Desk 
mlock    See Also

Prevent M-file clearing

Syntax

Description

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.

See Also

munlock



[ Previous | Help Desk | Next ]