Code covered by the BSD License  

Highlights from
choose_profile_limits

image thumbnail
from choose_profile_limits by Kevin Bartlett
Allows user to choose limits of oceanographic profile (e.g., CTD cast)

quit_control_callback()
function [] = quit_control_callback()
%
% quit_control_callback.m--Callback for "Quit" button.
%
% Syntax: quit_control_callback

% Developed in Matlab 7.4.0.336 (R2007a) on GLNX86.
% Kevin Bartlett (kpb@uvic.ca), 2008-05-26 16:37
%-------------------------------------------------------------------------

% Pressing "Quit" has the same effect as closing the figure window using
% the window controls.
close(gcbf);

% % Return empty limits to indicate that user wants to quit.
% setappdata(gcbf,'profileLimits',[]);
% uiresume(gcbf);

Contact us at files@mathworks.com