No BSD License  

Highlights from
A Universal Units Converter (UUC) developed using pure M files

image thumbnail
from A Universal Units Converter (UUC) developed using pure M files by Hong Zhang
This units converter contains almost all the units

help_English2.m
%collect screen information
scrsz=get(0,'screensize');

%set a firgure window
fig=figure;
set(fig,'Position',[scrsz(3)/2 (scrsz(4)/2-225) 357 288],'Name','Help for 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 278],...
               'backgroundcolor',[0.925 0.914 0.847],'foregroundcolor',[0 0 1],...
               'string',...
               {'          How to use this Unit Conversion Software'...
               '_______________________________________________'...
               '      There are four parts in the Graphic User Interface:'...
               '      1. An long narrow object of edit style for data input.'...
               '      2. The listbox on the most leftside is used for choose of unit field.'...
               '      3. The listbox in the middle is used for choose of original unit.'...
               '      4. the listbox on the right is to display the conversion result.'...
               '      5. You can save all conversion results into an excel file by right click in the right list or from the File menu.'...
               '      6. Furthermore, you can change the color of characters and background in all the three listboxes by right click.'...
               },'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');

Contact us at files@mathworks.com