01 % RECLEANUP Clears global variables defined and used by the RECDEMO 02 % 03 04 global pwdstr RECFIGNUM 05 06 if isempty(RECFIGNUM) 07 disp('You must start recdemo in order to run this script') 08 return 09 end 10 if ~isempty(pwdstr) 11 cd(pwdstr) % cd to the directory where recdemo was started 12 end 13 % clear Defined Globals 14 %~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 clear global pwdstr recmenulabels recfilename xn map wind 16 clear global inds zcrit dcrit ddcrit % findoutliers output, input 17 clear global Nsim L csm1 csm2 param % reconstruct input 18 clear global xr g g2 test0 tobs mu1o mu1oStd % reconstruct output 19 clear global Sr m0 m2 Tm02 Hm0 Vrms Hrms % Spectral density, moments and Sea state parameters 20 clear global V H rate % dat2steep output, input 21 clear global phat res noverlap % dist2dfit output, input 22 clear global sphat CSMA CSMB % dist2dsmfun2 output, input 23 clear global ft2 fkde % dist2dpdf2 and kdebin outputs 24 clear global kernel hs L2 % kdebin input 25 RECFIGNUM=0; 26 %end
Comments or corrections to the WAFO group