No BSD License  

Highlights from
Solar Software (nimajamshidi)

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

nnnn()
function fig = nnnn()
load nnnn
h0 = figure('Units','points', ...
	'Color',[1 1 0], ...
	'Colormap',mat0, ...
	'FileName','A:\nnnn.m', ...
	'MenuBar','none', ...
	'Name','main menu', ...
	'NumberTitle','off', ...
	'PaperPosition',[18 180 576 432], ...
	'PaperUnits','points', ...
	'Position',[174.5 111.75 420 315], ...
	'Tag','now', ...
	'ToolBar','none');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 0], ...
	'FontSize',20, ...
	'FontWeight','bold', ...
	'ForegroundColor',[1 0 1], ...
	'ListboxTop',0, ...
	'Position',[40 245 365 45], ...
	'String','now you should select the locaction information', ...
	'Style','text', ...
	'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'ListboxTop',0, ...
	'Position',[315 180 60 25], ...
	'String','59.633', ...
	'Style','edit', ...
	'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'ListboxTop',0, ...
	'Position',[315 115 60 25], ...
	'String','36.267', ...
	'Style','edit', ...
	'Tag','EditText2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'ListboxTop',0, ...
	'Position',[195 115 60 25], ...
	'String','0.985', ...
	'Style','edit', ...
	'Tag','EditText3');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 0], ...
	'FontSize',12, ...
	'FontWeight','bold', ...
	'ForegroundColor',[1 0 1], ...
	'ListboxTop',0, ...
	'Position',[315 205 60 25], ...
	'String','longitude', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 0], ...
	'FontSize',15, ...
	'FontWeight','bold', ...
	'ForegroundColor',[1 0 1], ...
	'ListboxTop',0, ...
	'Position',[315 145 60 25], ...
	'String','lattiude', ...
	'Style','text', ...
	'Tag','StaticText3');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 0], ...
	'FontSize',10, ...
	'FontWeight','bold', ...
	'ForegroundColor',[1 0 1], ...
	'ListboxTop',0, ...
	'Position',[195 141.75 69 22.5], ...
	'String','height from the see(km)', ...
	'Style','text', ...
	'Tag','StaticText4');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'Callback','popupcall', ...
	'ListboxTop',0, ...
	'Position',[195 180 68.25 30.75], ...
	'String',mat1, ...
	'Style','popupmenu', ...
	'Tag','pop', ...
	'Value',9);
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 0 1], ...
	'Callback','sunset', ...
	'ListboxTop',0, ...
	'Position',[30 60 65 25], ...
	'String','sunset time', ...
	'Tag','sunset');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 0 1], ...
	'Callback','zenith', ...
	'ListboxTop',0, ...
	'Position',[125 60 65 25], ...
	'String','zenith angle', ...
	'Tag','zenit');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 0 1], ...
	'Callback','incidence', ...
	'ListboxTop',0, ...
	'Position',[215.25 62.25 65 25], ...
	'String','angle of incidence', ...
	'Tag','incidence');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 0 1], ...
	'Callback','go', ...
	'ListboxTop',0, ...
	'Position',[308.25 60.75 65 25], ...
	'String','Irradiance(G)', ...
	'Tag','irradiance');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 0 1], ...
	'Callback','IFIG', ...
	'ListboxTop',0, ...
	'Position',[31.5 16.5 65 25], ...
	'String','Irradiation(I)', ...
	'Tag','Pushbutton5');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 0 1], ...
	'Callback','ht', ...
	'ListboxTop',0, ...
	'Position',[126 15 65 25], ...
	'String','total day radiation', ...
	'Tag','Pushbutton6');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 0 1], ...
	'Callback','transition', ...
	'ListboxTop',0, ...
	'Position',[216 16.5 65 25], ...
	'String','atmosphrice factor', ...
	'Tag','Pushbutton7');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 0 1], ...
	'ListboxTop',0, ...
	'Position',[310.5 18 65 25], ...
   'callback','collector',...
   'String','collector', ...
	'Tag','collector');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 0 1], ...
	'Callback','declination', ...
	'ListboxTop',0, ...
	'Position',[31.5 104.25 65 25], ...
	'String','declination angle', ...
	'Tag','declination');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 0 1], ...
	'Callback','solartime', ...
	'ListboxTop',0, ...
	'Position',[126 105 65 25], ...
	'String','solar time', ...
	'Tag','solarti');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 0 1], ...
	'Callback','airmass', ...
	'ListboxTop',0, ...
	'Position',[31.5 145.5 65 25], ...
	'String','air mass', ...
	'Tag','air');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'ListboxTop',0, ...
	'Position',[105 215 60 25], ...
	'Style','edit', ...
	'Tag','EditText4');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'ListboxTop',0, ...
	'Position',[105 180 60 25], ...
	'Style','edit', ...
	'Tag','EditText5');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'ListboxTop',0, ...
	'Position',[24 210 65.25 21], ...
   'Style','text', ...
   'BackgroundColor',[1 1 0], ...
	'FontSize',10, ...
	'FontWeight','bold', ...
   'ForegroundColor',[1 0 1], ...
   'string','day number',...
	'Tag','StaticText5');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'ListboxTop',0, ...
   'Position',[22.5 183 72.75 25.5], ...
    'BackgroundColor',[1 1 0], ...
	'FontSize',20, ...
	'FontWeight','bold', ...
   'ForegroundColor',[1 0 1], ...
   'string','hour',...
	'Style','text', ...
	'Tag','StaticText6');
if nargout > 0, fig = h0; end

Contact us at files@mathworks.com