% AMLClean -- Matlab version 1.0.2
% Will_Ferenc@hmc.edu
% 6/22/2011 UCLA Applied Math Lab
% 2011 Applied Math REU 

%=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-USAGE-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
% AMLClean is a matlab script that cleans up the pieces of matlab
% instruments in the event of a failure of AMLCOM. Summary of package
% useage below.
%
% 0. Obtain and load AMLCOM and a listening script (eg. AMLlistenOPEN)
% 1. Find IP address of both computers (google "find my IP address")
% 2. Input IP address of the remote computer for each script
% 3. Run scripts in tandem. (If not they will timeout and error)
% 4. Wait for prompt, then activate the AML car, then press any key
% 5. Check receiving computer for results. Perhaps use fread(t,#bytessent)
%-------------------------------------------------------------------------

fclose(car)
delete(car)
delete(t)
clear all