A function to properly clear MATLAB memory for LTPDA. M Hewitson 06-08-08 $Id: mc.m,v 1.2 2008/08/06 18:25:47 hewitson Exp $
0001 % A function to properly clear MATLAB memory for LTPDA. 0002 % 0003 % M Hewitson 06-08-08 0004 % 0005 % $Id: mc.m,v 1.2 2008/08/06 18:25:47 hewitson Exp $ 0006 % 0007 0008 % Remove this object from memory so we can clear classes 0009 setappdata(0, 'ltpda_default_spectral_window', ''); 0010 0011 % clear 0012 clear 0013 clear classes 0014 0015 % set this global propery again 0016 setappdata(0, 'ltpda_default_spectral_window', specwin('BH92', 10)); 0017