⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 calculator.m

📁 一个简单的计算器,用MATLAB开发
💻 M
字号:
function fig = calculator()
%初始化文件
%*********************************************************************
%              ★☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆★
%              ☆                                            ☆
%              ☆  欢 迎 使 用  ★  陶 善 文 ★ 的 作 品     ☆
%              ☆                                            ☆
%              ★☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆★
%                                                       21:40 2003-11-15
%**********************************************************************
%
%
%
%**********************************************************************
%                                 陶善文
%                    我的主页: http://earth.prohosting.com/ahei
%                    我的信箱: ahei080210114@hotmail.com
%                    我的QQ:189207318
%                                                       21:40 2003-11-15
%**********************************************************************
%多功能计算器1.0 汉化版  
%*********************************************************************
%国人免费软件
%**********************************************************************
%最新更新
%**********************************************************************
%第一版汉化
%**********************************************************************
%
%原版
%--------------------------------------------------------
%无需原版
%
%------------------------
%
%汉化网址:
%---------------------------------------------------------
%http://earth.prohosting.com/ahei           (编程爱好者)
%http://www.freewebs.com/ahei               (编程爱好者)
%---------------------------------------------------------
%
%衷心希望您能随时指出您遇到的 Bug(如果有),无论大小都欢迎指正,以便我
%能及时推出修正版或在新版中改正,让您和我都用上质量更好的汉化软件。

h0 = figure('Units','points', ...
	'Color',[0.925490196078431 0.913725490196078 0.847058823529412], ...
	'MenuBar','none', ...
	'Name','正在进行初始化,请稍等...', ...
	'NumberTitle','off', ...
	'Position',[196.5 195 351 206.25], ...
   'RendererMode','manual', ...
   'resize','off',...
   'Tag','main',...
   'pointer','watch',...
   'windowstyle','modal',...
   'createfcn','a=wavread(''music.wav'');sound(a);');
 
h1 = axes('Parent',h0, ...
	'Units','pixels', ...
	'Box','on', ...
	'CameraUpVector',[0 1 0], ...
	'Color',[1 1 1], ...
	'Layer','top', ...
	'Position',[1 1 195 276], ...
	'Tag','Axes1', ...
	'XColor',[0 0 0], ...
	'XLim',[0.5 187.5], ...
	'XLimMode','manual', ...
	'YColor',[0 0 0], ...
	'YDir','reverse', ...
	'YLim',[0.5 269.5], ...
	'YLimMode','manual', ...
   'ZColor',[0 0 0],...
   'createfcn','rgb=imread(''picture.bmp'');image(rgb);grid off;box on;');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.925490196078431 0.913725490196078 0.847058823529412], ...
   'FontName','隶书', ...
   'fontweight','bold',...
	'fontsize',30,...
	'ForegroundColor',[0 0 1], ...
	'ListboxTop',0, ...
   'Position',[156.75 159 189 28.5], ...
   'fontname','隶书',...
	'String','多功能计算器', ...
	'Style','text', ...
   'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
   'Units','points', ...
   'ForegroundColor',[0 0 1], ...
   'BackgroundColor',[0.925490196078431 0.913725490196078 0.847058823529412], ...
	'ListboxTop',0, ...
   'Position',[192.75 141 109.5 14.25], ...
   'fontsize',15,...
   'fontname','隶书',...
   'Style','text', ...
   'string','版本:1.0',...
	'Tag','StaticText3');
h1 = uicontrol('Parent',h0, ...
   'BackgroundColor',[0.925490196078431 0.913725490196078 0.847058823529412], ...   
   'Units','points', ...
	'ListboxTop',0, ...
	'Position',[181.5 111.75 138.75 17.25], ...
   'Style','text', ...
   'ForegroundColor',[0 0 1], ...
   'foregroundcolor',[0 0 1],...
   'string','软件设计:陶善文',...
   'fontsize',15,...
   'fontname','隶书',...
	'Tag','StaticText2');
h1 = uicontrol('Units','points', ...
   'fontsize',15,...
   'fontname','隶书',...
   'ListboxTop',0, ...
   'ForegroundColor',[0 0 1], ...
   'BackgroundColor',[0.925490196078431 0.913725490196078 0.847058823529412], ...
	'Position',[171.75 84 158.25 18.75], ...
   'Style','text', ...
   'string','开发工具:Matlab6.0',...
'Tag','StaticText6');

hwaitbar=waitbar(0,'正在进行初始化,请稍等...');
for i=0:1000
   waitbar(i/1000);
   pause(2/1000);
end
close(hwaitbar);
close;
calculatormain;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -