No BSD License  

Highlights from
Solar Software (nimajamshidi)

from Solar Software (nimajamshidi) by nima jamshidi
solar software for estimating solar and collector parameter

sunset()
function fig = sunset()
% This is the machine-generated representation of a Handle Graphics object
% and its children.  Note that handle values may change when these objects
% are re-created. This may cause problems with any callbacks written to
% depend on the value of the handle at the time the object was saved.
% This problem is solved by saving the output as a FIG-file.
%
% To reopen this object, just type the name of the M-file at the MATLAB
% prompt. The M-file and its associated MAT-file must be on your path.
% 
% NOTE: certain newer features in MATLAB may not have been saved in this
% M-file due to limitations of this format, which has been superseded by
% FIG-files.  Figures which have been annotated using the plot editor tools
% are incompatible with the M-file/MAT-file format, and should be saved as
% FIG-files.

load sunset

h0 = figure('Color',[1 1 0], ...
	'Colormap',mat0, ...
	'FileName','A:\sunset.m', ...
	'MenuBar','none', ...
	'Name','sunset', ...
	'NumberTitle','off', ...
	'PaperPosition',[18 180 576 432], ...
	'PaperUnits','points', ...
	'Position',[568 152 200 150], ...
	'Tag','sunsetf', ...
	'ToolBar','none');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 0], ...
	'FontSize',12, ...
	'FontWeight','bold', ...
	'ForegroundColor',[1 0 0.502], ...
	'ListboxTop',0, ...
	'Position',[3 30 137 27], ...
	'String','now you should enter the day number of year', ...
	'Style','text', ...
   'Tag','StaticText1');
h1=findobj(0,'tag','now');
m=findobj(h1,'tag','EditText4');
nk=get(m,'string');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'Callback','callsunset', ...
	'ListboxTop',0, ...
	'Position',[44.25 86.25 54 22.5], ...
	'String',nk, ...
	'Style','edit', ...
	'Tag','EditText1sunset');
if nargout > 0, fig = h0; end

Contact us at files@mathworks.com