matlabguifunctiondrawWord文件下载.docx

上传人:b****7 文档编号:22771338 上传时间:2023-02-05 格式:DOCX 页数:9 大小:15.32KB
下载 相关 举报
matlabguifunctiondrawWord文件下载.docx_第1页
第1页 / 共9页
matlabguifunctiondrawWord文件下载.docx_第2页
第2页 / 共9页
matlabguifunctiondrawWord文件下载.docx_第3页
第3页 / 共9页
matlabguifunctiondrawWord文件下载.docx_第4页
第4页 / 共9页
matlabguifunctiondrawWord文件下载.docx_第5页
第5页 / 共9页
点击查看更多>>
下载资源
资源描述

matlabguifunctiondrawWord文件下载.docx

《matlabguifunctiondrawWord文件下载.docx》由会员分享,可在线阅读,更多相关《matlabguifunctiondrawWord文件下载.docx(9页珍藏版)》请在冰豆网上搜索。

matlabguifunctiondrawWord文件下载.docx

,'

Value'

...)createsanewBJ10183orraisesthe

%existingsingleton*.Startingfromtheleft,propertyvaluepairsare

%appliedtotheGUIbeforebj10183_OpeningFcngetscalled.An

%unrecognizedpropertynameorinvalidvaluemakespropertyapplication

%stop.Allinputsarepassedtobj10183_OpeningFcnviavarargin.

%*SeeGUIOptionsonGUIDE'

sToolsmenu.Choose"

GUIallowsonlyone

%instancetorun(singleton)"

.

%Seealso:

GUIDE,GUIDATA,GUIHANDLES

%Edittheabovetexttomodifytheresponsetohelpbj10183

%LastModifiedbyGUIDEv2.518-Oct-201722:

22:

27

%Begininitializationcode-DONOTEDIT

gui_Singleton=1;

gui_State=struct('

gui_Name'

mfilename,...

'

gui_Singleton'

gui_Singleton,...

gui_OpeningFcn'

@bj10183_OpeningFcn,...

gui_OutputFcn'

@bj10183_OutputFcn,...

gui_LayoutFcn'

[],...

gui_Callback'

[]);

ifnargin&

&

ischar(varargin{1})

gui_State.gui_Callback=str2func(varargin{1});

end

ifnargout

[varargout{1:

nargout}]=gui_mainfcn(gui_State,varargin{:

});

else

gui_mainfcn(gui_State,varargin{:

%Endinitializationcode-DONOTEDIT

%---Executesjustbeforebj10183ismadevisible.

functionbj10183_OpeningFcn(hObject,eventdata,handles,varargin)

%Thisfunctionhasnooutputargs,seeOutputFcn.

%hObjecthandletofigure

%eventdatareserved-tobedefinedinafutureversionofMATLAB

%handlesstructurewithhandlesanduserdata(seeGUIDATA)

%varargincommandlineargumentstobj10183(seeVARARGIN)

%Choosedefaultcommandlineoutputforbj10183

handles.output=hObject;

%Updatehandlesstructure

guidata(hObject,handles);

%UIWAITmakesbj10183waitforuserresponse(seeUIRESUME)

%uiwait(handles.figure1);

%---Outputsfromthisfunctionarereturnedtothecommandline.

functionvarargout=bj10183_OutputFcn(hObject,eventdata,handles)

%varargoutcellarrayforreturningoutputargs(seeVARARGOUT);

%Getdefaultcommandlineoutputfromhandlesstructure

varargout{1}=handles.output;

functionedit1_Callback(hObject,eventdata,handles)

%hObjecthandletoedit1(seeGCBO)

%Hints:

get(hObject,'

String'

)returnscontentsofedit1astext

%str2double(get(hObject,'

))returnscontentsofedit1asadouble

%---Executesduringobjectcreation,aftersettingallproperties.

functionedit1_CreateFcn(hObject,eventdata,handles)

%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled

%Hint:

editcontrolsusuallyhaveawhitebackgroundonWindows.

%SeeISPCandCOMPUTER.

ifispc&

isequal(get(hObject,'

BackgroundColor'

),get(0,'

defaultUicontrolBackgroundColor'

))

set(hObject,'

white'

);

%---Executesonselectionchangeinhpopup.

functionhpopup_Callback(hObject,eventdata,handles)

%hObjecthandletohpopup(seeGCBO)

contents=cellstr(get(hObject,'

))returnshpopupcontentsascellarray

%contents{get(hObject,'

)}returnsselecteditemfromhpopup

COMM(handles.hedit,handles.hpopup,handles.hlist);

functionhpopup_CreateFcn(hObject,eventdata,handles)

popupmenucontrolsusuallyhaveawhitebackgroundonWindows.

%---Executesonbuttonpressinhpush1.

functionhpush1_Callback(hObject,eventdata,handles)

%hObjecthandletohpush1(seeGCBO)

%---Executesonbuttonpressinpushbutton2.

functionpushbutton2_Callback(hObject,eventdata,handles)

%hObjecthandletopushbutton2(seeGCBO)

close(bj10183);

%---Executesonselectionchangeinlistbox1.

functionlistbox1_Callback(hObject,eventdata,handles)

%hObjecthandletolistbox1(seeGCBO)

))returnslistbox1contentsascellarray

)}returnsselecteditemfromlistbox1

functionlistbox1_CreateFcn(hObject,eventdata,handles)

listboxcontrolsusuallyhaveawhitebackgroundonWindows.

%---Executesonselectionchangeinhlist.

functionhlist_Callback(hObject,eventdata,handles)

%hObjecthandletohlist(seeGCBO)

))returnshlistcontentsascellarray

)}returnsselecteditemfromhlist

functionhlist_CreateFcn(hObject,eventdata,handles)

functionhedit_Callback(hObject,eventdata,handles)

%hObjecthandletohedit(seeGCBO)

)returnscontentsofheditastext

))returnscontentsofheditasadouble

functionhedit_CreateFcn(hObject,eventdata,handles)

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 党团工作 > 入党转正申请

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1