Software used for controlling and data logging lab equipment.
deletecallback(object, eventdata, firstArgument)
function deletecallback(object, eventdata, firstArgument)
% DELETECALLBACK is for cleaning up timers and serial objects at the end of
% their life - use this function in e.g. the TimerStopFcn. If another
% object is supplied as an argument, then that object is deleted instead.
if nargin == 3
% deletes the specified object
% deletes the object