资源描述:
《半导体中载流子浓度的计算分析.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、functionvarargout=one(varargin)%ONEMATLABcodeforone.fig%ONE,byitself,createsanewONEorraisestheexisting%singleton*.%%H=ONEreturnsthehandletoanewONEorthehandleto%theexistingsingleton*.%%ONE('CALLBACK',hObject,eventData,handles,...)callsthelocal%functionnamed
2、CALLBACKinONE.Mwiththegiveninputarguments.%%ONE('Property','Value',...)createsanewONEorraisesthe%existingsingleton*.Startingfromtheleft,propertyvaluepairsare%appliedtotheGUIbeforeone_OpeningFcngetscalled.An%unrecognizedpropertynameorinvalidvaluemakesproper
3、tyapplication%stop.Allinputsarepassedtoone_OpeningFcnviavarargin.%%*SeeGUIOptionsonGUIDE'sToolsmenu.Choose"GUIallowsonlyone%instancetorun(singleton)".%%Seealso:GUIDE,GUIDATA,GUIHANDLES%Edittheabovetexttomodifytheresponsetohelpone%LastModifiedbyGUIDEv2.521-
4、Nov-201204:20:02%Begininitializationcode-DONOTEDITgui_Singleton=1;gui_State=struct('gui_Name',mfilename,...'gui_Singleton',gui_Singleton,...'gui_OpeningFcn',@one_OpeningFcn,...'gui_OutputFcn',@one_OutputFcn,...'gui_LayoutFcn',[],...'gui_Callback',[]);ifnar
5、gin&&ischar(varargin{1})gui_State.gui_Callback=str2func(varargin{1});endifnargout[varargout{1:nargout}]=gui_mainfcn(gui_State,varargin{:});elsegui_mainfcn(gui_State,varargin{:});end%Endinitializationcode-DONOTEDIT%---Executesjustbeforeoneismadevisible.func
6、tionone_OpeningFcn(hObject,eventdata,handles,varargin)%Thisfunctionhasnooutputargs,seeOutputFcn.%hObjecthandletofigure%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%varargincommandlineargumentstoon
7、e(seeVARARGIN)%Choosedefaultcommandlineoutputforonehandles.output=hObject;%Updatehandlesstructureguidata(hObject,handles);%UIWAITmakesonewaitforuserresponse(seeUIRESUME)%uiwait(handles.figure1);%---Outputsfromthisfunctionarereturnedtothecommandline.functio
8、nvarargout=one_OutputFcn(hObject,eventdata,handles)%varargoutcellarrayforreturningoutputargs(seeVARARGOUT);%hObjecthandletofigure%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhand