資源簡(jiǎn)介
該代碼使用MatLab7.0 GUI編寫的實(shí)現(xiàn)小數(shù)、整數(shù)進(jìn)行加減乘除的案例。將該資源加壓后,得到addnum文件,打開Matlab7.0,切換工作區(qū)間到addnum,在Matlab的命令行窗口輸入:addnum,就可以在GUI上進(jìn)行加減乘除了。
代碼片段和文件信息
function?varargout?=?addnum(varargin)
%?ADDNUM?M-file?for?addnum.fig
%??????ADDNUM?by?itself?creates?a?new?ADDNUM?or?raises?the?existing
%??????singleton*.
%
%??????H?=?ADDNUM?returns?the?handle?to?a?new?ADDNUM?or?the?handle?to
%??????the?existing?singleton*.
%
%??????ADDNUM(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?ADDNUM.M?with?the?given?input?arguments.
%
%??????ADDNUM(‘Property‘‘Value‘...)?creates?a?new?ADDNUM?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?addnum_OpeningFunction?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?addnum_OpeningFcn?via?varargin.
%
%??????*See?GUI?Options?on?GUIDE‘s?Tools?menu.??Choose?“GUI?allows?only?one
%??????instance?to?run?(singleton)“.
%
%?See?also:?GUIDE?GUIDATA?GUIHANDLES
%?Copyright?2002-2003?The?MathWorks
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????10492??2015-11-25?09:45??addnum\addnum.asv
?????文件???????2996??2015-11-25?09:19??addnum\addnum.fig
?????文件??????10492??2015-11-25?09:47??addnum\addnum.m
?????目錄??????????0??2015-11-26?15:10??addnum
-----------?---------??----------?-----??----
????????????????23980????????????????????4
評(píng)論
共有 條評(píng)論