📄 demo.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><html><head> <title>Description of demo</title> <meta name="keywords" content="demo"> <meta name="description" content="DEMO M-file for demo.fig"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="generator" content="m2html © 2003 Guillaume Flandin"> <meta name="robots" content="index, follow"> <link type="text/css" rel="stylesheet" href="../../m2html.css"></head><body><a name="_top"></a><!-- # AFEM@matlab --><!-- menu.html 1_Example --><h1>demo</h1><h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><div class="box"><strong>DEMO M-file for demo.fig</strong></div><h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><div class="box"><strong>function varargout = demo(varargin) </strong></div><h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><div class="fragment"><pre class="comment"> DEMO M-file for demo.fig DEMO, by itself, creates a new DEMO or raises the existing singleton*. H = DEMO returns the handle to a new DEMO or the handle to the existing singleton*. DEMO('CALLBACK',hObject,eventData,handles,...) calls the local function named CALLBACK in DEMO.M with the given input arguments. DEMO('Property','Value',...) creates a new DEMO or raises the existing singleton*. Starting from the left, property value pairs are applied to the GUI before demo_OpeningFunction gets called. An unrecognized property name or invalid value makes property application stop. All inputs are passed to demo_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</pre></div><!-- crossreference --><h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2>This function calls:<ul style="list-style-image:url(../../matlabicon.gif)"><li><a href="Lshape.html" class="code" title="function Lshape">Lshape</a> LSHAPE solves Poisson equation in a L-shaped domain with FEM with</li><li><a href="circle.html" class="code" title="function circle">circle</a> CIRCLE simulates adaptive grids for a problem with moving circlular</li><li><a href="crack.html" class="code" title="function crack">crack</a> CRACK solves Poisson equation in a crack domain with AFEM.</li><li><a href="simple.html" class="code" title="function simple">simple</a> SIMPLE solves Poisson equation with Dirichlet boundaray condition in a</li><li><a href="utildemo.html" class="code" title="function utildemo">utildemo</a> UTILDEMO shows how to load initial mesh from a saved .mat file and how to</li></ul>This function is called by:<ul style="list-style-image:url(../../matlabicon.gif)"></ul><!-- crossreference --><h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><ul style="list-style-image:url(../../matlabicon.gif)"><li><a href="#_sub1" class="code">function demo_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = demo_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function Crack_button_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function Lshape_button_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function Simple_button_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function circle_button_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function toolkitdemo_Callback(hObject, eventdata, handles)</a></li></ul><h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><div class="fragment"><pre><a name="_sub0" href="#_subfunctions" class="code">function varargout = demo(varargin)</a><span class="comment">% DEMO M-file for demo.fig</span><span class="comment">% DEMO, by itself, creates a new DEMO or raises the existing</span><span class="comment">% singleton*.</span><span class="comment">%</span><span class="comment">% H = DEMO returns the handle to a new DEMO or the handle to</span><span class="comment">% the existing singleton*.</span><span class="comment">%</span><span class="comment">% DEMO('CALLBACK',hObject,eventData,handles,...) calls the local</span><span class="comment">% function named CALLBACK in DEMO.M with the given input arguments.</span><span class="comment">%</span><span class="comment">% DEMO('Property','Value',...) creates a new DEMO or raises the</span><span class="comment">% existing singleton*. Starting from the left, property value pairs are</span><span class="comment">% applied to the GUI before demo_OpeningFunction gets called. An</span><span class="comment">% unrecognized property name or invalid value makes property application</span><span class="comment">% stop. All inputs are passed to demo_OpeningFcn via varargin.</span><span class="comment">%</span><span class="comment">% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one</span><span class="comment">% instance to run (singleton)".</span><span class="comment">%</span><span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span><span class="comment">% Copyright 2002-2003 The MathWorks, Inc.</span><span class="comment">% C. Zhang 10-13-2006</span><span class="comment">% Edit the above text to modify the response to help demo</span><span class="comment">% Last Modified by GUIDE v2.5 14-Oct-2006 00:15:46</span><span class="comment">% Begin initialization code - DO NOT EDIT</span>gui_Singleton = 1;gui_State = struct(<span class="string">'gui_Name'</span>, mfilename, <span class="keyword">...</span> <span class="string">'gui_Singleton'</span>, gui_Singleton, <span class="keyword">...</span> <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction demo_OpeningFcn(hObject, eventdata, handles, varargin)">demo_OpeningFcn</a>, <span class="keyword">...</span> <span class="string">'gui_OutputFcn'</span>, @<a href="#_sub2" class="code" title="subfunction varargout = demo_OutputFcn(hObject, eventdata, handles)">demo_OutputFcn</a>, <span class="keyword">...</span> <span class="string">'gui_LayoutFcn'</span>, [] , <span class="keyword">...</span> <span class="string">'gui_Callback'</span>, []);<span class="keyword">if</span> nargin && ischar(varargin{1}) gui_State.gui_Callback = str2func(varargin{1});<span class="keyword">end</span><span class="keyword">if</span> nargout [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});<span class="keyword">else</span> gui_mainfcn(gui_State, varargin{:});<span class="keyword">end</span><span class="comment">% End initialization code - DO NOT EDIT</span><span class="comment">% --- Executes just before demo is made visible.</span><a name="_sub1" href="#_subfunctions" class="code">function demo_OpeningFcn(hObject, eventdata, handles, varargin)</a><span class="comment">% This function has no output args, see OutputFcn.</span><span class="comment">% hObject handle to figure</span><span class="comment">% eventdata reserved - to be defined in a future version of MATLAB</span><span class="comment">% handles structure with handles and user data (see GUIDATA)</span><span class="comment">% varargin command line arguments to demo (see VARARGIN)</span><span class="comment">% Choose default command line output for demo</span>handles.output = hObject;<span class="comment">% Update handles structure</span>guidata(hObject, handles);<span class="comment">% UIWAIT makes demo wait for user response (see UIRESUME)</span><span class="comment">% uiwait(handles.figure1);</span><span class="comment">% --- Outputs from this function are returned to the command line.</span><a name="_sub2" href="#_subfunctions" class="code">function varargout = demo_OutputFcn(hObject, eventdata, handles) </a><span class="comment">% varargout cell array for returning output args (see VARARGOUT);</span><span class="comment">% hObject handle to figure</span><span class="comment">% eventdata reserved - to be defined in a future version of MATLAB</span><span class="comment">% handles structure with handles and user data (see GUIDATA)</span><span class="comment">% Get default command line output from handles structure</span>varargout{1} = handles.output;<span class="comment">% --- Executes on button press in Crack_button.</span><a name="_sub3" href="#_subfunctions" class="code">function Crack_button_Callback(hObject, eventdata, handles)</a><span class="comment">% hObject handle to Crack_button (see GCBO)</span><span class="comment">% eventdata reserved - to be defined in a future version of MATLAB</span><span class="comment">% handles structure with handles and user data (see GUIDATA)</span><a href="crack.html" class="code" title="function crack">crack</a><span class="comment">% --- Executes on button press in Lshape_button.</span><a name="_sub4" href="#_subfunctions" class="code">function Lshape_button_Callback(hObject, eventdata, handles)</a><span class="comment">% hObject handle to Lshape_button (see GCBO)</span><span class="comment">% eventdata reserved - to be defined in a future version of MATLAB</span><span class="comment">% handles structure with handles and user data (see GUIDATA)</span><a href="Lshape.html" class="code" title="function Lshape">Lshape</a><span class="comment">% --- Executes on button press in Simple_button.</span><a name="_sub5" href="#_subfunctions" class="code">function Simple_button_Callback(hObject, eventdata, handles)</a><span class="comment">% hObject handle to Simple_button (see GCBO)</span><span class="comment">% eventdata reserved - to be defined in a future version of MATLAB</span><span class="comment">% handles structure with handles and user data (see GUIDATA)</span><a href="simple.html" class="code" title="function simple">simple</a><span class="comment">% --- Executes on button press in circle_button.</span><a name="_sub6" href="#_subfunctions" class="code">function circle_button_Callback(hObject, eventdata, handles)</a><span class="comment">% hObject handle to circle_button (see GCBO)</span><span class="comment">% eventdata reserved - to be defined in a future version of MATLAB</span><span class="comment">% handles structure with handles and user data (see GUIDATA)</span><a href="circle.html" class="code" title="function circle">circle</a><span class="comment">% --- Executes on button press in toolkitdemo.</span><a name="_sub7" href="#_subfunctions" class="code">function toolkitdemo_Callback(hObject, eventdata, handles)</a><span class="comment">% hObject handle to toolkitdemo (see GCBO)</span><span class="comment">% eventdata reserved - to be defined in a future version of MATLAB</span><span class="comment">% handles structure with handles and user data (see GUIDATA)</span><a href="utildemo.html" class="code" title="function utildemo">utildemo</a></pre></div><hr><address>Generated on Thu 02-Nov-2006 17:03:56 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2003</address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -