function get_threshold()

% This is the machine-generated representation of a MATLAB object

% and its children.  Note that handle values may change when these

% objects are re-created. This may cause problems with some callbacks.

% The command syntax may be supported in the future, but is currently

% incomplete and subject to change.

%

% To re-open this system, just type the name of the m-file at the MATLAB

% prompt. The M-file and its associtated MAT-file must be on your path.

 

load get_threshold                     

donewithgui = 0;

a = figure('Units','points', ...

   'Color',[0.8 0.8 0.8], ...

   'Colormap',mat0, ...

   'MenuBar','none', ...

   'Name','Web-Monitored Thermostat', ...

   'PointerShapeCData',mat1, ...

   'Position',[150 255 240 138], ...    

   'Tag','Fig10');

b = uicontrol('Parent',a, ...

   'Units','points', ...

   'BackgroundColor',[0.752941 0.752941 0.752941], ...

   'FontName','Times New Roman', ...

   'FontSize',20, ...

   'Position',[57.75 80.25 141 52.5], ...

   'String','Web-Monitored Thermostat', ...

   'Style','text', ...

   'Tag','StaticText1');

b = uicontrol('Parent',a, ...

   'Units','points', ...

   'Position',[82.5 28.5 94.5 24.75], ...

   'String','Send New Threshold', ...

   'Tag','Pushbutton1');

b = uicontrol('Parent',a, ...

   'BackgroundColor',[1 1 1], ...

   'Callback','get_value', ...

   'Position',[149 80 38 21], ...

   'Style','edit', ...

   'Tag','new_thresh', ...

   'UserData','[]');

b = uicontrol('Parent',a, ...

   'Units','points', ...

   'BackgroundColor',[0.752941 0.752941 0.752941], ...

   'Position',[32.25 6.75 196.5 15], ...

   'String','Invalid. Enter up to a three number temperature', ...

   'Style','text', ...

   'Tag','errormsg', ...

   'Visible','off');