%collect screen information
scrsz=get(0,'screensize');
%set a firgure window
fig=figure;
set(fig,'Position',[scrsz(3)/2 (scrsz(4)/2-225) 357 295],'Name','About Unit Conversion 1.0','windowstyle','modal');
set(gcf,'menubar','none','numbertitle','off','resize','off','color',[0.925 0.914 0.847]);
%set an information text
uicontrol(gcf,'style','text','position',[15 5 328 258],...
'backgroundcolor',[0.925 0.914 0.847],'foregroundcolor',[0 0 1],...
'string',...
{...
' Thanks to Chinese MATLAB forum who let me find a home of matlab fans in China. It taught me a lot of MATLAB.'...
' This is my first work of software which took me almost one week to learn and to design. I do it just for fun and practice. So it is totally free and you can use it freely.'...
'_______________________________________________'...
'If you have some advice and find some detects in this software, please don''t hesitate to contact me. My email address is jiea0088@163.com. Thank you!'},'fontsize',10,'horizontalalignment','left');
% %SET an OK pushbutton
% uicontrol(gcf,'style','pushbutton','position',[290 8 60 28],...
% 'string','OK','fontname','MS Sans Serif','fontsize',11,...
% 'foregroundcolor',[0 0 1],'horizontalalignment','center',...
% 'backgroundcolor',[0.925 0.914 0.847],'callback','close');