資源簡介
MATLAB實現(xiàn)不同插值方法的GUI界面設計,學習matlab的一個例子

代碼片段和文件信息
function?varargout?=?chazhi_GUI(varargin)
%?CHAZHI_GUI?M-file?for?chazhi_GUI.fig
%??????CHAZHI_GUI?by?itself?creates?a?new?CHAZHI_GUI?or?raises?the?existing
%??????singleton*.
%
%??????H?=?CHAZHI_GUI?returns?the?handle?to?a?new?CHAZHI_GUI?or?the?handle?to
%??????the?existing?singleton*.
%
%??????CHAZHI_GUI(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?CHAZHI_GUI.M?with?the?given?input?arguments.
%
%??????CHAZHI_GUI(‘Property‘‘Value‘...)?creates?a?new?CHAZHI_GUI?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?chazhi_GUI_OpeningFunction?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?chazhi_GUI_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?Inc.
%?Edit?the?above?text?to?modify?the?response?to?help?chazhi_GUI
%?Last?Modified?by?GUIDE?v2.5?06-Feb-2014?11:48:42
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@chazhi_GUI_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@chazhi_GUI_OutputFcn?...
???????????????????‘gui_LayoutFcn‘??[]??...
???????????????????‘gui_Callback‘???[]);
if?nargin?&&?ischar(varargin{1})
????gui_State.gui_Callback?=?str2func(varargin{1});
end
if?nargout
????[varargout{1:nargout}]?=?gui_mainfcn(gui_State?varargin{:});
else
????gui_mainfcn(gui_State?varargin{:});
end
%?End?initialization?code?-?DO?NOT?EDIT
%?---?Executes?just?before?chazhi_GUI?is?made?visible.
function?chazhi_GUI_OpeningFcn(hobject?eventdata?handles?varargin)
%?This?function?has?no?output?args?see?OutputFcn.
%?hobject????handle?to?figure
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)
%?varargin???command?line?arguments?to?chazhi_GUI?(see?VARARGIN)
%?Choose?default?command?line?output?for?chazhi_GUI
handles.output?=?hobject;
%?Update?handles?structure
guidata(hobject?handles);
%?UIWAIT?makes?chazhi_GUI?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);
%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?chazhi_GUI_OutputFcn(hobject?eventdata?handles)?
%?varargout??cell?array?for?returning?output?args?(see?VARARGOUT);
%?hobject????handle?to?figure
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)
%?Get?default?command?line?output?from?handles?structure
varargout{1}?=?handles.output;
function?edit1_Callback(hobject
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-10-07?14:10??MATLAB實現(xiàn)不同插值方法的GUI界面設計\
?????文件????????5967??2014-02-06?11:48??MATLAB實現(xiàn)不同插值方法的GUI界面設計\chazhi_GUI.fig
?????文件????????7190??2018-10-07?14:08??MATLAB實現(xiàn)不同插值方法的GUI界面設計\chazhi_GUI.m
?????文件???????26011??2018-10-07?14:10??MATLAB實現(xiàn)不同插值方法的GUI界面設計\linear插值界面及結果.fig
?????文件?????????168??2018-10-07?14:10??MATLAB實現(xiàn)不同插值方法的GUI界面設計\linear插值結果.txt
?????文件???????26011??2018-10-07?14:10??MATLAB實現(xiàn)不同插值方法的GUI界面設計\pchip插值界面及結果.fig
?????文件?????????166??2018-10-07?14:10??MATLAB實現(xiàn)不同插值方法的GUI界面設計\pchip插值結果.txt
?????文件???????25992??2018-10-07?14:10??MATLAB實現(xiàn)不同插值方法的GUI界面設計\spline插值界面及結果.fig
?????文件?????????167??2018-10-07?14:10??MATLAB實現(xiàn)不同插值方法的GUI界面設計\spline插值結果.txt
?????文件?????????100??2009-06-28?10:14??MATLAB實現(xiàn)不同插值方法的GUI界面設計\已知點.txt
?????文件?????????116??2009-06-28?10:23??MATLAB實現(xiàn)不同插值方法的GUI界面設計\未知點.txt
- 上一篇:GUI制作加好玩的matlab制作的小游戲
- 下一篇:matlab2011a_64
評論
共有 條評論