Code covered by the BSD License  

Highlights from
CO2gui - lab control and automation

CO2gui - lab control and automation

by

 

06 Jan 2010 (Updated )

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.

% decides
if nargin == 3
    % deletes the specified object
    delete(firstArgument)
    
else
    % deletes the object
    delete(object)
end

Contact us