资源描述:
《matlab毕业编程【谷速软件】动态轮廓地实施和测试平台地gui》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、标准实用文案functionvarargout=ActiveCountorsGUI(varargin)%ACTIVECOUNTORSGUIM-fileforActiveCountorsGUI.fig%ACTIVECOUNTORSGUI,byitself,createsanewACTIVECOUNTORSGUIorraisestheexisting%singleton*.%%H=ACTIVECOUNTORSGUIreturnsthehandletoanewACTIVECOUNTORSGUIorthehandleto%theexistingsingleton*.%%ACT
2、IVECOUNTORSGUI('CALLBACK',hObject,eventData,handles,...)callsthelocal%functionnamedCALLBACKinACTIVECOUNTORSGUI.Mwiththegiveninputarguments.%%ACTIVECOUNTORSGUI('Property','Value',...)createsanewACTIVECOUNTORSGUIorraisesthe%existingsingleton*.Startingfromtheleft,propertyvaluepairsare%appl
3、iedtotheGUIbeforeActiveCountorsGUI_OpeningFunctiongetscalled.An%unrecognizedpropertynameorinvalidvaluemakespropertyapplication%stop.AllinputsarepassedtoActiveCountorsGUI_OpeningFcnviavarargin.%%*SeeGUIOptionsonGUIDE'sToolsmenu.Choose"GUIallowsonlyone%instancetorun(singleton)".%%Seealso:
4、GUIDE,GUIDATA,GUIHANDLES%EdittheaboveNoiseLambdaTexttomodifytheresponsetohelpActiveCountorsGUI文档标准实用文案%LastModifiedbyGUIDEv2.528-Jun-201111:26:19%Begininitializationcode-DONOTEDITgui_Singleton=1;gui_State=struct('gui_Name',mfilename,...'gui_Singleton',gui_Singleton,...'gui_OpeningFcn',@
5、ActiveCountorsGUI_OpeningFcn,...'gui_OutputFcn',@ActiveCountorsGUI_OutputFcn,...'gui_LayoutFcn',[],...'gui_Callback',[]);ifnargin&&ischar(varargin{1})gui_State.gui_Callback=str2func(varargin{1});endifnargout[varargout{1:nargout}]=gui_mainfcn(gui_State,varargin{:});elsegui_mainfcn(gui_St
6、ate,varargin{:});end%Endinitializationcode-DONOTEDIT%---ExecutesjustbeforeActiveCountorsGUIismadevisible.functionActiveCountorsGUI_OpeningFcn(hObject,eventdata,handles,varargin)%Thisfunctionhasnooutputargs,seeOutputFcn.%hObjecthandletofigure%eventdatareserved-tobedefinedinafutureversion
7、ofMATLAB文档标准实用文案%handlesstructurewithhandlesanduserdata(seeGUIDATA)%varargincommandlineargumentstoActiveCountorsGUI(seeVARARGIN)%ChoosedefaultcommandlineoutputforActiveCountorsGUIhandles.output=hObject;%subplot('Position',[0.29,0.12,0.79,0.79]);X=zeros(300,250,3);X(:,:,2)=200;i