23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

To clear all compiled M- and MEX-functions from memory, type clear<br />

functions. In the case shown below, clear functions was unable to clear one<br />

M-file function, testfun, from memory because the function is locked.<br />

clear functions % Attempt to clear all functions.<br />

inmem<br />

ans =<br />

'testfun' % One M-file function remains in memory.<br />

mislocked testfun<br />

ans =<br />

1 % This function is locked in memory.<br />

Once you unlock the function from memory, you can clear it.<br />

munlock testfun<br />

clear functions<br />

inmem<br />

ans =<br />

Empty cell array: 0-by-1<br />

See Also clc, close, import, mlock, munlock, pack, persistent, who, whos<br />

clear<br />

2-267

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!